7.4

Table Of Contents
if( condition1 )
...
elseif( condition2 )
...
else()
...
endif()
Argument
condition, condition1, condition2
Value of type Boolean to evaluate.
Code Sample Example
This example simply prints 5 lines of text, selecting fonts according to line numbers.
Example prior to version 7.0
define(&x,integer,1)
%Define loop variable and then set up loop
for(&x,1,1,5)
if((&x mod 2)=0)
%If &x is an even number
setstyle(&bluefont)
%use the blue font
elseif() %otherwise
setstyle(&Default)
%use the default font
endif()
show('Some text to display')
%Display the text
crlf()
%Skip to the next line
endfor()
©2010 Objectif Lune Inc - 427 -