DEFINE: - defines macro
variables, which can be used as a constant or to make macros perform
differently according to the macro variable value.
Ex:-
#define.Maxlength(100)
;
Int intarray[#Maxlength]
UNDEF: - Cancels a macro
variable
#MACROLIB: - loads a macro library, libraries must be loaded
before the macros within them can be used.
#GLOBALMACRO: - Declares a global macro (header). A global macro
can be used everywhere in Morphx after declaration
#LOCALMACRO: - Declares a local macro (header)
#ENDMACRO: - Signals the end of a macro declaration
#IF: - Tests if the macro variable following the #IF has a
particular value includes the statements between #IF and #ENDIF
#IF.EMPTY():- Tests the arguments within the brackets. Includes
the statements between #IF and #ENDIF if the argument is empty
#IFNOT.EMPTY():- Tests the argument within the brackets, and
includes the statements between #IF and #ENDIF if the argument is not empty.
#ENDIF: - signals the end of a conditional macro declaration
(#IF).
#LINENUMBER: - return the current line number, Mainly useful for debugging .
No comments:
Post a Comment