DEFINE

From Lianjapedia
Revision as of 09:58, 3 August 2016 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

DEFINE ... commands

Purpose

Defines a constant

Syntax

#DEFINE <memvar> <exp>

See Also

#IFDEF, LOCAL, PRIVATE, PUBLIC

Description

The #DEFINE command is used to define constants. Constants declared using #DEFINE can be overridden by a memory variable of the same name, but cannot be modified or manually released after their initial declaration. Constants are automatically updated if the value of <exp> changes and are released on exit from the session.

Example