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:

Read Calculator

Read

Function: read (<expr_1>, ..., <expr_n>) Prints <expr_1>, ..., <expr_n>, then reads one expression from the console and returns the evaluated expression. The expression is terminated with a semicolon ; or dollar sign $.

See also readonly.

          (%i1) foo: 42$
          (%i2) foo: read ("foo is", foo, " -- enter new value.")$
          foo is 42  -- enter new value.
          (a+b)^3;
          (%i3) foo;
                                               3
          (%o3)                         (b + a)

There are also some inexact matches for read. Try ?? read to see them.

(%o1)                                true
(%i2) 

Read Example

Related Examples

read

read ("enter order");

Calculate

read

a:read("Enter a ");

3.5;

Calculate

read

a:read("Enter a ");

3.5;

Calculate

read

a:read("Enter a ");

Calculate

read

read ("enter order");

Calculate

read

a:read("Enter a ");

3.5;

a;

Calculate

read

a:read("Enter a ");

3.5;

a;

Calculate

read

a:read("Enter a ");

3.5;

a;

Calculate