AMOSi:IF..THEN

From Amiga Coding
Revision as of 02:45, 17 November 2007 by Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile)
Jump to: navigation, search

Executes an Interface routine if the result of an expression is True (non zero).


IF expression;[do if true]


expression can contain the following operations:


= equals
\ not equals ==> greater than== | or


The routine between the brackets [] can be as long as you like. You're not just limited to a single line.