RENAME
Gives a variable a new name.
Syntax
RENAME name,newName
| Argument | Meaning |
|---|---|
| name | The variable's name now. |
| newName | Its new name, not already used. |
Examples
FLAP=40
P4=P1+[FLAP,0]
RENAME FLAP,GLUEFLAP
GLUEFLAP=50
P4 is now defined from GLUEFLAP, and moves when it changes.
Notes
Everything defined from the variable keeps using it under its new name. Points are named by their number and can't be renamed. See also: LABEL, Variables.