Maxima Function
readonly (expr_1, ..., expr_n)
Prints expr_1, ..., expr_n, then reads one expression from the console
and returns the expression (without evaluation).
The expression is terminated with a ;
(semicolon) or $
(dollar sign).
(%i1) aa: 7$ (%i2) foo: readonly ("Enter an expression:"); Enter an expression: 2^aa; aa (%o2) 2 (%i3) foo: read ("Enter an expression:"); Enter an expression: 2^aa; (%o3) 128