ElseIf

Prev Next Home Home Table Of Contents Index

ElseIf

Used with IF, ELSE, and ENDIF in conditional statements. After one ElseIf is true, execution continues after the endif statement.


Example:
if X = 1 Writeln 'One'

elseif X = 2 Writeln 'Two'

elseif X = 3 Writeln 'Three'

elseif X = 4 Writeln 'Four'

else Writeln 'Other'

endif

See Also: If Then Endif Else

Category: Conditional

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home