Other Content

Table Of Contents
174 Using Variables
Important Information About Locked Variables
To lock variables, use the Lock command.
To modify or delete a locked variable, you must first unlock the item.
Locked variables display a lock icon on the variable menu list.
The Lock command clears the Redo/Undo history when applied to
unlocked variables.
Examples of Locking
Lock a,b,c
Locks variables a, b, and c from the Calculator
application.
Lock mystats.
Locks all members of variable group mystats.
UnLock func2
Unlocks variable func2.
lm:=getLockInfo
(var2)
Retrieves the current lock status of var2 and assigns
that value to lm in the Calculator application.
For more information, see the
Reference Guide
.
Updating a Variable
If you want to update a variable with the result of a calculation, you must store
the result explicitly.
Entry Result Comment
a := 2
2
a
3
8 Result not stored in variable
a.
a
2
a := a
3
8
Variable a updated with
result.
a
8
a
2
& a
64
Variable a updated with
result.