Read/write variables (RWV) are the same as the variables of conventional languages. As the name implied, the value of a RWV can be assigned and examined by the user. For instance,
A = 1
will assign integer 1
to the RWV A
. The value of a variable is referenced
if the variable appears in an expression - e.g. the right-hand side of
the assignment statement. For example,
B = A
puts the value of A
into RWV B
.
Note that, in EDEN, a function is considered as a RWV (although there is a different instruction to define a function, and some restrictions on their definition). Functions will be discussed in the later chapters.