System Command FNS: Difference between revisions
(Created page with "<h1>)FNS - List all functions in workspace</h1> The ''')FNS''' command lists all of the functions that have been defined in the workspace. If the workspace has no functions, i...") |
(t/c) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<h1>)FNS - List all functions in workspace</h1> | <h1>)FNS - List all functions in the workspace</h1> | ||
The ''')FNS''' command lists all of the functions that have been defined in the workspace. If the workspace has no | The ''')FNS''' command lists all of the functions that have been defined in the workspace. If the workspace has no such objects, it returns nothing. Here is an example: | ||
<code> | <code> | ||
: )FNS | : )FNS | ||
:</code> | :</code> | ||
The equivalent system function to allow a function to find out the names of all the variables in the workspace is {quad}NL | The equivalent system function to allow a function to find out the names of all the variables in the workspace is [[System Function NL|{quad}NL 3]]. | ||
{{Commands}} | <h1>)FOP or )FOPS - List all functions and operators in the workspace</h1> | ||
The ''')FOP''' or ''')FOPS''' commands list all of the functions and operators that have been defined in the workspace. If the workspace has no such objects, it returns nothing. Here is an example: | |||
<code> | |||
: )FOP | |||
: )FOPS | |||
:</code> | |||
The equivalent system function to allow a function to find out the names of all the variables in the workspace is [[System Function NL|{quad}NL 3 4]]. | |||
<h1>)OPS - List all operators in the workspace</h1> | |||
The ''')OPS''' command lists all of the operators that have been defined in the workspace. If the workspace has no such objects, it returns nothing. Here is an example: | |||
<code> | |||
: )OPS | |||
:</code> | |||
The equivalent system function to allow a function to find out the names of all the variables in the workspace is [[System Function NL|{quad}NL 4]]. | |||
{{Commands|FNS}} | |||
{{Article footer|0|NO}} |
Latest revision as of 15:26, 13 October 2019
)FNS - List all functions in the workspace
The )FNS command lists all of the functions that have been defined in the workspace. If the workspace has no such objects, it returns nothing. Here is an example:
- )FNS
The equivalent system function to allow a function to find out the names of all the variables in the workspace is ⎕NL 3.
)FOP or )FOPS - List all functions and operators in the workspace
The )FOP or )FOPS commands list all of the functions and operators that have been defined in the workspace. If the workspace has no such objects, it returns nothing. Here is an example:
- )FOP
- )FOPS
The equivalent system function to allow a function to find out the names of all the variables in the workspace is ⎕NL 3 4.
)OPS - List all operators in the workspace
The )OPS command lists all of the operators that have been defined in the workspace. If the workspace has no such objects, it returns nothing. Here is an example:
- )OPS
The equivalent system function to allow a function to find out the names of all the variables in the workspace is ⎕NL 4.
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 |