Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
EQU
◄Directive Summary► ◄Summary► ◄Example►
──────────────────────────────────────────────────────────────────────────────
Syntax: name EQU <expression>
name EQU expression
Assigns expression to name. Angle brackets are optional, but usually
recommended; if expression is enclosed in brackets, it is interpreted
as a string of text. Otherwise, EQU will evaluate the numeric value of
expression, if possible, and then assign the resulting value to name.
If numeric evaluation fails, then EQU considers expression a string of
text. Text equates can be redefined, but numeric equates cannot.
name A symbolic name (may or may not be redefinable, as explained
above).
expression A string of text or numeric expression.
See Also: equalsign (=)
-♦-