Home > lang > try 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
TRY
TRY Statement

Tries to execute a statement, without raising an error.

Use ERROR just after to know if the statement was executed correctly.

Example

' Remove a file even if it does not exist
TRY KILL FileName
' Test if it has failed
IF ERROR THEN PRINT "Cannot remove file"

See also

Hata Yƶnetimi, ERROR