System Command SAVE: Difference between revisions

From NARS2000
Jump to navigationJump to search
(Created page with "<h1>)SAVE - Name the current workspace</h1> In order to use the functions and variables which you have created again, you must save the workspace you are using. This is the sa...")
 
(t/c)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<h1>)SAVE - Name the current workspace</h1>
<h1>)SAVE - Save the current workspace to disc</h1>
In order to use the functions and variables which you have created again, you must save the workspace you are using. This is the same as when you edit a document in a word processor or a spreadsheet in a spreadsheet program, you have to save what you are working on. You issue the command
In order to use the functions and variables which you have created again, you must save the workspace you are using. This is the same as when you edit a document in a word processor or a spreadsheet in a spreadsheet program, you have to save what you are working on. If your workspace is still the CLEAR workspace, you must either use the [[System Command WSID|)WSID]] command before saving or you must give a name on the )SAVE command.  You cannot save the CLEAR workspace without giving it a name.
 
You issue the command
<code><br/>
<code><br/>
: )SAVE<br/>
: )SAVE<br/>
Line 6: Line 8:
: )SAVE ''workspacename''<br/>
: )SAVE ''workspacename''<br/>
</code>
</code>
Where &quot;'''workspacename'''&quot; is the name you want to use.
Where &quot;'''workspacename'''&quot; is the name you want to use. If the save was successful, it will list the name of the workspace and the current time and date. The save command will fail if you are in a CLEAR WS and you give the )SAVE command without giving a name for the workspace. The name cannot have spaces in it, anything following a space will be ignored.


The command works like this:<br/><br/><code>
The command works like this:<br/><br/><code>
Line 15: Line 17:
If you use the )SAVE command again, it will replace the existing workspace.  Note that if you use the same name as an existing workspace, it will replace it without asking if you want to overwrite it.   
If you use the )SAVE command again, it will replace the existing workspace.  Note that if you use the same name as an existing workspace, it will replace it without asking if you want to overwrite it.   


{{Commands}}
To continue to use a workspace again after saving it, use the [[System Command LOAD|)LOAD]] or [[System Command XLOAD|)XLOAD]] commands. The difference being that when a workspace is retrieved using <apll>)LOAD</apll>, the value of the system variable {quad}LX is executed before the Session Manager returns control to the user; <apll>}XLOAD</apll> does not execute the system variable {quad}LX.
 
==See also==
* [[System Variable LX|{quad}LX]]
* [[System Command LOAD|)LOAD]]
* [[System Command XLOAD|)XLOAD]]
{{Commands|SAVE}}
{{article footer|0|NO}}

Latest revision as of 15:31, 13 October 2019

)SAVE - Save the current workspace to disc

In order to use the functions and variables which you have created again, you must save the workspace you are using. This is the same as when you edit a document in a word processor or a spreadsheet in a spreadsheet program, you have to save what you are working on. If your workspace is still the CLEAR workspace, you must either use the )WSID command before saving or you must give a name on the )SAVE command. You cannot save the CLEAR workspace without giving it a name.

You issue the command

)SAVE

if the workspace has a name, or

)SAVE workspacename

Where "workspacename" is the name you want to use. If the save was successful, it will list the name of the workspace and the current time and date. The save command will fail if you are in a CLEAR WS and you give the )SAVE command without giving a name for the workspace. The name cannot have spaces in it, anything following a space will be ignored.

The command works like this:

      )SAVE This_is_my_Workspace
This_is_my_Workspace SAVED 02/26/2013 23:49:12

If you use the )SAVE command again, it will replace the existing workspace. Note that if you use the same name as an existing workspace, it will replace it without asking if you want to overwrite it.

To continue to use a workspace again after saving it, use the )LOAD or )XLOAD commands. The difference being that when a workspace is retrieved using )LOAD, the value of the system variable ⎕LX is executed before the Session Manager returns control to the user; }XLOAD does not execute the system variable ⎕LX.

See also

System Commands (not case sensitive)
)CLEAR )CLOSE )COPY )DROP )EDIT )ERASE )EXIT )FNS )FOP )FOPS
)IN )INASCII )LIB )LOAD )NEWTAB )NMS )OFF )OPEN )OPS )OUT
)RESET )SAVE )SI )SIC )SINL )SYMB )ULIB )VARS )XLOAD )WSID


See Also
System Commands System Variables and Functions Operators


Keyboard
Alt+Shift
Alt ¨ ¯ < > × ÷
Shift ~ ! @ # $ % ^ & * ( ) _ +
Key ` 1 2 3 4 5 6 7 8 9 0 - =
Alt+Shift
Alt ? § π
Shift Q W E R T Y U I O P { } |
Key q w e r t y u i o p [ ] \
Alt+Shift
Alt
Shift A S D F G H J K L : "
Key a s d f g h j k l ; '
Alt+Shift χ
Alt
Shift Z X C V B N M < > ?
Key z x c v b n m , . /
NARS 2000 Lang
Tool
Bar
+ - × ÷ * ! ? |
< = >
~ § π .. ,
/ \ ¨ .
_ ¯
Second Row i j k i j k l g p r v x