ReadyBASIC
BASIC Language Reference Manual > Command and Function Reference >

END IF Command

Summary

Marks the end of an IF statement that surrounds a code block.

Syntax

  • IF expression THEN
        code block
    END IF
    

  • IF expression THEN
        code block
    ELSE
        code block
    END IF
    

Remarks and Examples

The END IF marks the end of an IF statement that surrounds a code block.

Please refer to the IF...THEN...ELSE statement for details and examples.


See also: IF...THEN...ELSE




Copyright 2006-2012, Kevin Matz, All Rights Reserved.