首页 > lang > try 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
文档  
警告! 该页面未翻译。  参见英文版 
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"

参见

Error Management, ERROR