IF Selection Structures


Simple if-then:

 IF condition   statement ENDIF 

Example:

 IF you pay your money   you take your chances ENDIF 

If-then-else:

 IF condition   statement ELSE   statement ENDIF 

Example:

 IF you pay your money   you take your chances ELSE   you keep your money ENDIF 

Compound if-then-else:

 IF condition   statement ELSEIF condition   statement ELSE   statement ENDIF 

Example:

 IF you pay your money   you take your chances ELSEIF I pay my money   I take my chances ELSE   we both keep our money ENDIF 


Using XML with Legacy Business Applications
Using XML with Legacy Business Applications
ISBN: 0321154940
EAN: 2147483647
Year: 2003
Pages: 181

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net