Ifsame, Ifma, Ifsame ifma – Zilog EZ80F916 User Manual
Page 238

UM014423-0607
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
218
ENDIF
Example
IFDEF XYZ ; process code body if XYZ is defined
.
.
.
<
Code Body
>
.
.
.
ENDIF
IFSAME
Checks to see if two string constants are the same. If the strings are the same, the result is
true; otherwise, the result is false. If the strings are not enclosed by quotes, the comma is
used as the separator.
Syntax
IFSAME <string_const> , <string_const>
<code_body>
[ELSE
<code_body>]
ENDIF
IFMA
Used only within a macro, this directive checks to determine if a macro argument has been
defined. If the argument is defined, the result is true. Otherwise, the result is false. If
<arg_number> is 0, the result is TRUE if no arguments were provided; otherwise, the
result is FALSE.
Syntax
IFMA <arg_number>
<code_body>
[ELSE
<code_body>]
ENDIF