ENDSELECT

Top  Previous  Next

Syntax

ENDSELECT

Description

Marks the end of a SELECT block.

Parameters

None

Return value

None

Remarks

Every SELECT statement must be paired with an ENDSELECT.

See Also: SELECT, CASE, CASE&, DEFAULT

Example usage

SELECT A
     CASE 1
           PRINT "TRUE!"
     CASE 2
           PRINT "You wont see this text"
     DEFAULT
           PRINT "None of the above"
ENDSELECT