Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

.IF

Generates code that tests condition1 (for example, AX > 7) and executes the statements if that condition is true.

.IF condition1  
   statements
   [[.ELSEIF condition2 
      statements]]
   [[.ELSE 
      statements]]
   .ENDIF

If a .ELSE follows, its statements are executed if the original condition was false. Note that the conditions are evaluated at run time.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.