Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>elseifndef else with ifndef directive</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ELSEIFNDEF      ELSE With IFNDEF                                    Directive

  ELSEIFNDEF <name>

     This directive is the same as an ELSE followed by an IFNDEF. (IFNDEF
     is satified if the argument is not defined.) It is used to start a
     nested conditional block. For example:

                        IF NUMBER EQ 5
                           add ax,3
                        ELSEIFNDEF NAME
                           add bx,2
                        ELSE
                           add cx,1
                        ENDIF

       Notes:     See ELSEIF and IFNDEF for more information.

See Also: ELSEIF IFNDEF

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson