EPOC16 Environment Variables
EPOC16 always places a dollar sign ($) in the names of the environment variable it uses. Other applications should use names without a dollar sign in them.
Psion issues environment variable name prefixes to registered developers; these prefixes will contain dollar signs, but names based on them should have no further dollar signs.
The following environment variables are known.
initial value of the window server settings (changeable using the wSystem call). Only applies to window server version 4.
fonts used by the window server (version 4):
|0||2||general system purposes|
|2||2||notifer and alerts|
|6||2||special font holding the diamond symbol|
|8||2||medium digital clock|
|14||2||small status window clock|
Owner information: up to 218 bytes:
|3||1||length of first line|
|4||1||offset of start of first line (always 18)|
|7||1||length of second line|
|8||1||offset of start of second line|
|11||1||length of third line|
|12||1||offset of start of third line|
|15||1||length of fourth line|
|16||1||offset of start of fourth line|
|18||Text of the information|
The remaining bytes appear to be zero, except 2,6,10,14, which are 0x6. Why?
parameters used by Link. [Workabout only]
|0||1||setting (0 = standard, 1 = special)|
current keyboard setting. [Workabout only]
current drive last time the command processor was exited. [Workabout only]
|0||1||drive letter (e.g. $4D or %M for the internal drive)|
current path on drive A last time the command processor was exited. [Workabout only]
If the variable is unset, then the path is the root directory. Variables
C$PZ can also exist.
Alleged to be something to do with dialling settings
Full pathname of the 8087 emulator software.
|0||1||48 = print device is a parallel port
49 = print device is a serial port
50 = print device is a file
Print to file name: up to 128 bytes:
||Last file used for printing to file|
Printer driver: up to 129 bytes.
|0||1||printer driver model number|
||Printer driver library|
A printer driver library can support several similar printers; the model number specifies which is selected.
Serial port setup: 12 bytes.
Unknown, but includes fields called tbaud, rbaud, frame, parity, hand, xoff, xon, flags, tmask, something called
System screen version number. [Workabout only]
||Version number as text|
Used by the word processor (in some way when constructing its menus, probably to indicate that the spell checker is available.)
Used by the word processor (in some way when constructing its menus, probably to indicate that the thesaurus is available.)