System Command WSID: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
When you begin using the APL interpreter, the Session Manager presents you with a blank screen, and your workspace has a blank name, it's known as a CLEAR WS. In order to be able to save your workspace, you must give it a name. You can do this without saving the workspace, by issuing a ''')WSID''' command followed by the workspace name. You can also name the workspace by doing the same thing with the [[System Command SAVE|)SAVE]] command. | When you begin using the APL interpreter, the Session Manager presents you with a blank screen, and your workspace has a blank name, it's known as a CLEAR WS. In order to be able to save your workspace, you must give it a name. You can do this without saving the workspace, by issuing a ''')WSID''' command followed by the workspace name. You can also name the workspace by doing the same thing with the [[System Command SAVE|)SAVE]] command. | ||
Issuing the )WSID command without an argument lists the current name of the workspace. Otherwise it changes the name of the workspace to the argument and reports the prior name. Because a space is a value separator, you cannot give a workspace a name with spaces in it, the name will be chopped at the first space | Issuing the )WSID command without an argument lists the current name of the workspace. Otherwise it changes the name of the workspace to the argument and reports the prior name. Because a space is a value separator, you cannot give a workspace a name with spaces in it, the name will be chopped at the first space; underlines may be used instead. If you want to create a name with a space you must use the {quad}WSID system function instead. Case is preserved on the WSID argument. | ||
The command works like this:<code><br/> | The command works like this:<code><br/> | ||
Line 24: | Line 24: | ||
</code> | </code> | ||
The equivalent System Variable to allow a function to retrieve the workspace name is [[System Variable WSID|{quad}WSID]]. | The equivalent System Variable to allow a function to set or retrieve the workspace name is [[System Variable WSID|{quad}WSID]]. | ||
{{Commands}} | {{Commands}} | ||
{{article footer}} | {{article footer}} |
Revision as of 17:16, 26 November 2014
)WSID - Name the current workspace
When you begin using the APL interpreter, the Session Manager presents you with a blank screen, and your workspace has a blank name, it's known as a CLEAR WS. In order to be able to save your workspace, you must give it a name. You can do this without saving the workspace, by issuing a )WSID command followed by the workspace name. You can also name the workspace by doing the same thing with the )SAVE command.
Issuing the )WSID command without an argument lists the current name of the workspace. Otherwise it changes the name of the workspace to the argument and reports the prior name. Because a space is a value separator, you cannot give a workspace a name with spaces in it, the name will be chopped at the first space; underlines may be used instead. If you want to create a name with a space you must use the ⎕WSID system function instead. Case is preserved on the WSID argument.
The command works like this:
- )WSID
IS CLEAR WS
- )wsid big
WAS CLEAR WS
- )wsid hello there
WAS big
- )wsid
IS hello
- )wsid x_5
WAS hello
- )wsid
IS x_5
- )Wsid Mixed_Case
WAS x_5
- )wsid
IS Mixed_Case
The equivalent System Variable to allow a function to set or retrieve the workspace name is ⎕WSID.
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 |
[[Category:Mouse Group {{{1}}}|{{{2}}}]]