Next Previous Contents

15. Memory commands

15.1 The sto command

This command stores an object (in level two) in memory, with the name given in level one (an identifier).

15.2 The rcl command

This command recalls from memory the object whose name is in level one (an identifier).

15.3 The purge command

This command deletes from memory the object whose name is in level one (and identifier). Be careful: there is no way to bring back an erased object.

15.4 The clvar and clusr commands

These commands delete the whole contents of memory. Because there is no way to bring back the memory contents, these commands asks you for confirmation before. Answer 'y' at the prompt to delete the memory.

15.5 The _clvar command

This command deletes the whole memory, without asking you for confirmation before.

15.6 The vars command

This command displays all objects stored in memory.

15.7 The disksto command

This command saves the object in level two to a file whose path is given in level one (as an identifier).

15.8 The diskrcl command

This command recalls an object saved in the file whose path is given as argument (and identifier) in level one.

15.9 The pwd command

This command prints the current working directory.

Examples:

> pwd
/home/ekalin/progs/calc

15.10 The cd command

This command changes the current working directory to the directory given as argument (an identifier) in level one.

Examples:

> '/usr/bin'
[ 1]                '/usr/bin'
> cd
> pwd
/usr/bin


Next Previous Contents