Previous Up Next

3.3.7  Copying variables

The CopyVar command copies the contents of one variable into another, without evaluating the contents.

Example

a:=c:; c:=5:; CopyVar(a,b);
     
c           

then:

b
     
5           

Changing the value if c will also change the output of b, since b contains c.

c:=10:; b
     
10           

Previous Up Next