Início > lang > try 
 en fr de es it nl pl pt mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Anterior  Próximo  Editar  Renomear  Desfazer  Procurar  Administração  
Documentação  
Cuidado! Esta página não está traduziada.  Veja a versão em inglês 
TRY
TRY Statement

Tries to execute a statement, without raising an error.

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

Exemplo

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

Veja também

Gerenciamento de Erros, ERROR