Difference between revisions of "Define (DEF)"

From EDukeWiki
Jump to navigation Jump to search
Line 1: Line 1:
<span {{code}}>'''define''' <name> <value></span><br />
<span {{code}}>'''define''' <name> <value></span><br /> (or '''#define''')
<span {{code}}>'''#define''' <name> <value></span>


Declares <name> to represent the numeric value <value>. <value> can be a label, in which case the value of the label given is used.
Declares <name> to represent the numeric value <value>. <value> can be a label, in which case the value of the label given is used.

Revision as of 04:25, 23 February 2020

define <name> <value>
(or #define)

Declares <name> to represent the numeric value <value>. <value> can be a label, in which case the value of the label given is used.

NOTE: You may find it convenient to include DEFS.CON or NAMES.H to predefine many of the tile (and sound) names in the art file.