SELECT

Use this command in combination with CASE, ENDCASE and ENDSELECT to create a select statement.

  Syntax
SELECT Variable
  Parameters
Variable
Value
Enter the appropriate value here.

  Returns

This command does not return a value.

  Description

A select statement allows you to branch to different actions based on the value of the provided variable. The variable can be an integer, real or string value.

  Example Code
var=2
SELECT var
CASE 2:
PRINT "var is two"
ENDCASE
ENDSELECT
WAIT KEY
  See also

CORE Commands Menu
Index