readline SciMax Toolbox realonly

SciMax Toolbox >> readonly

readonly

Maxima Function

Calling Sequence

readonly (expr_1, ..., expr_n)

Description

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

See also .

readline SciMax Toolbox realonly