Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:chapter4:dirs [2017/05/21 20:17]
smartin [Variable Storage]
manual:chapter4:dirs [2017/06/04 04:07] (current)
pier4r [Directories]
Line 1: Line 1:
 =====Directories and variable storage===== =====Directories and variable storage=====
-----+
 ====Directories==== ====Directories====
  
Line 7: Line 7:
 As an example, this creates the subdirectory TEST from the current working directory: ​ ''​ '​TEST'​ CRDIR''​ As an example, this creates the subdirectory TEST from the current working directory: ​ ''​ '​TEST'​ CRDIR''​
  
-The directory name is enclosed in single quotes (as opposed to strings that use double-quotes as delimiters). ​ Now the TEST subdirectory shows up as an object in the soft menus. ​ Selecting it enters that directory, and the current directory path is displayed in the status area.  To move back up to the parent directory, use the command ''​UPDIR''​. ​ Anywhere in the directory tree executing ''​HOME''​ will return the user to the root or HOME directory. ​ To delete a directory, use the command ''​PGDIR''​. ​ **Note that this command will delete the directory and all subdirectories,​ so use it carefully, especially if there are variables stored in the directory as currently there is no confirmation for purging non-empty directories.**+The directory name is enclosed in single quotes (as opposed to strings that use double-quotes as delimiters). ​ Now the TEST subdirectory shows up as an object in the soft menus. ​ Selecting it enters that directory, and the current directory path is displayed in the status area.  To move back up to the parent directory, use the command ''​UPDIR''​. ​ Anywhere in the directory tree executing ''​HOME''​ will return the user to the root or HOME directory.  ​ 
 + 
 +To delete a directory, use the command ''​PGDIR''​. ​ **Note that this command will delete the directory and all subdirectories,​ so use it carefully**, especially if there are variables stored in the directory as currently there is no confirmation for purging non-empty directories. 
 + 
 +---- 
 ====Variable Storage==== ====Variable Storage====
  
Line 23: Line 28:
  
 2.  Use the shortcut keys for moving variable contents into and out of soft menu key assignments:​ **RS-{A..L}** recalls the variable to the stack, and **LS-{A..L}** stores the contents of stack level 1 to the soft Menukey. ​ //Note that it can be easy to make a mistake using this last method and wipe out the variable (or, more generally, any object) stored in a soft menu key.  This becomes particularly dangerous when storing whole programs since they can be inadvertently lost if the wrong shortcut key is used.  However, newRPL has a built-in way to protect variables with the command// ''​LOCKVAR''​. 2.  Use the shortcut keys for moving variable contents into and out of soft menu key assignments:​ **RS-{A..L}** recalls the variable to the stack, and **LS-{A..L}** stores the contents of stack level 1 to the soft Menukey. ​ //Note that it can be easy to make a mistake using this last method and wipe out the variable (or, more generally, any object) stored in a soft menu key.  This becomes particularly dangerous when storing whole programs since they can be inadvertently lost if the wrong shortcut key is used.  However, newRPL has a built-in way to protect variables with the command// ''​LOCKVAR''​.
 +
 +----
  
 ====Special Variable Commands==== ====Special Variable Commands====
Line 35: Line 42:
  
 ''​UNHIDEVAR'',​ variable is made visible in soft menu ''​UNHIDEVAR'',​ variable is made visible in soft menu
 +
 +----
  • manual/chapter4/dirs.1495423040.txt.gz
  • Last modified: 2017/05/21 20:17
  • by smartin