Previous Up Next

5.4.7  Copying variables: CopyVar

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


Example.
Input:

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

Output:

c

then:

b

Output:

5

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

c:=10:;
b

Output:

10

Previous Up Next