Anonymous user
Special variables: Difference between revisions
→{{header|Forth}}
Line 575:
===Common Practice===
Although not mandated in the Forth language specification, traditionally the language implements system variables as what are called USER variables. The name dates back to the a time when FORTH was used as a multi-user O/S and therefore each user needed a set of variables to control the state of their instance of the system. The user variables exist in a memory block called the USER AREA and are replicated for each task. When used for embedded systems, Forth is
This following list is an example of a set of USER variables in a small system. Consult the implementation documents for details on the USER variables in a specific FORTH system.
<pre>Name
---------------------------------------------
TIB
U0
>IN
BASE
STATE
DP
'SOURCE
LATEST
HP
LP
S0
PAD
L0
R0
=={{header|Go}}==
|