END_SELECT

END_SELECT

ENDS A STRUCTURE INITIATED BY "SELECT"

  • Type: Directive
  • Parameter: 0
  • Group: Structures

ACTION

The statement is a part of the structure SELECT/CASE/END_SELECT, and is used to end The structure:

- If no CASE matches with the value, the statements following END_SELECT are executed.

- When all the statements following a CASE have been executed, the statements following END_SELECT are executed.

SYNTAX: END_SELECT

USE

  • END_SELECT is used, associated with SELECT and CASE, to end the structure initiated by SELECT.

ERROR

  • None.

EXAMPLE

dim v

v=5

select v

case 1:print "V is 1"

case 5:print "V is 5"

case 8:print "V is 8"

end_select

SEE ALSO

CASE

SELECT