try
(tab)statement(s)
catch
(tab)statement(s)
end try
Execute the statement(s) inside the try. If a runtime error occurs jump to the code in the catch.
for t = -1 to 1 try print "9/"+t + "= " + (9/t) catch print "division by zero" end try next t
will display
9/-1= -9 division by zero 9/1= 9
1.0.0.2 | New To Version |