Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Readonly Calculator

Readonly

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

See also read.

(%o1)                                true
(%i2) 

Readonly Example

Related Examples

readonly

aa: 7;

foo: readonly ("Ente...

foo: read ("Enter an...

Calculate

readonly

aa: 7;

foo: readonly ("Ente...

foo: read ("Enter an...

Calculate