diff options
Diffstat (limited to '')
-rw-r--r-- | parserhelp.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/parserhelp.txt b/parserhelp.txt new file mode 100644 index 0000000..0da866c --- /dev/null +++ b/parserhelp.txt | |||
@@ -0,0 +1,21 @@ | |||
1 | All commands start with a '\'. The following commands are defined: | ||
2 | \help, \h, \? - This help | ||
3 | \exit, \quit - Exit the program | ||
4 | \radix - Display the current radix (base) | ||
5 | \radix <num> - Set the radix to anything between 2 and 36 (inclusive) | ||
6 | \scale - Display the current scale | ||
7 | \scale <num> - Set the current scale | ||
8 | \vars - List all defined variables | ||
9 | |||
10 | All variables must prefixed with a $ but otherwise can be used anywhere a | ||
11 | number can be used. To assign a variable use =, i.e.: | ||
12 | $amnt = $rate * 144000.09 | ||
13 | |||
14 | When using a radix greater than 10 all extended digits are lowercase letters | ||
15 | starting with 'a'. Upper case is not currently supported. | ||
16 | |||
17 | All numeric command parameters (i.e. \scale, \radix) are in base 10 no | ||
18 | matter what radix is currently set. These are also displayed in base 10 | ||
19 | at all times. | ||
20 | |||
21 | Changing the radix always clears all variables. | ||