Here is a somewhat clumsy but seemingly workable solution:
EXPORT temp;NB: This is an RPN only solution. Press Shift Help (User) x (Multiply) to start it.KEY K_Mul()
BEGIN
"i * + 'temp' |> ARG temp ABS"
END;
What's missing is an automated ENTER ("\n" doesn't work.)
The need for the global temp variable arises because Ans doesn't work here. Ans is only set when the command line is completely executed.