COPYDEF
Syntax COPYDEF newname currentname
 
Explanation COPYDEF copies the definition of its second input to its first input. The second input to COPYDEF must be a name of either a procedure or a primitive. If you redefine a primitive, its meaning will be lost until you ERASE the definition.

Note that when you use COPYDEF with a command, its abbreviation is NOT affected.
 

Examples TO MYNAME 
     PRINT [ORLANDO]
END
MYNAME defined
COPYDEF "YRNAME "MYNAME
PO "MYNAME "YRNAME 
TO MYNAME 
PRINT [ORLANDO] 
END 
TO YRNAME 
PRINT [ORLANDO] 
END 
MYNAME 
ORLANDO 
YRNAME 
ORLANDO 

TopIndex