Asin (number), Atan (number), Break case – Xylem STORM 3 Basic Programming manual User Manual
Page 13: Ceil (number)

11
Used with the SWITCH statement to list potential routes.
a$ = “Hi”
SWITCH a$
CASE “Hello”:
response$ = “And Hello to you”
BREAK
CASE “Hi”:
response$ = “Hi!” REM this case matches and is used
BREAK
END SWITCH
REM response$ is now “Hi!”
Returns the arc-sine value of the given number.
var = ASIN(0) REM sets var to0
var = ASIN(1) REM sets var to 1.5708 (PI/2)
ASIN (number)
Returns the arc-tangent value of the given number.
var = ATAN(0) REM sets var to 0
var = ATAN(1) REM sets var to 0.785398 (PI/4)
ATAN (number)
Causes an immediate exit from a loop or SWITCH statement.
a = 0
WHILE (a < 10)
a = a + 1
IF (a > 5) BREAK REM the while loop exits once a > 5
WEND
REM variable a is now 6
BREAK
CASE
Returns the ceiling or smallest integer not less than the given number.
var = CEIL(1.2) REM sets var to 2
var = CEIL(4.7) REM sets var to5
CEIL (number)