TRY

TRY Statement

Tries to execute a statement, without raising an error.

Example :

' Remove a file even if it exists
TRY KILL FileName
' Test if it has succeeded
IF ERROR THEN PRINT "Cannot remove file"


Referenced by :