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:

Qput Calculator

Qput

Function: qput (<atom>, <value>, <indicator>) Assigns <value> to the property (specified by <indicator>) of <atom>. This is the same as put, except that the arguments are quoted.

foo: aa;
 bar: bb;
 baz: cc;
 put (foo, bar, baz);
 properties (aa);
 get (aa, cc);
 qput (foo, bar, baz);
 properties (foo);
 get (

Example:

          (%i1) foo: aa$
          (%i2) bar: bb$
          (%i3) baz: cc$
          (%i4) put (foo, bar, baz);
          (%o4)                          bb
          (%i5) properties (aa);
          (%o5)                [[user properties, cc]]
          (%i6) get (aa, cc);
          (%o6)                          bb
          (%i7) qput (foo, bar, baz);
          (%o7)                          bar
          (%i8) properties (foo);
          (%o8)            [value, [user properties, baz]]
          (%i9) get (foo, baz);
          (%o9)                          bar

(%o1)                                true
(%i2) 

Qput Example

Related Examples