Skip to content

Commit

Permalink
Update 1427-language-endtry.markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe7M authored Sep 6, 2023
1 parent 2a87218 commit b86ebe5
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion _build/reference/1427-language-endtry.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

> END TRY
The END TRY statement marks the end of a TRY/CATCH block. For more information and examples please see TRY.
The END TRY statement marks the end of a TRY/CATCH block. For more information see TRY.

### Example

```
try
' DON'T use existing file for demo.
open "try demo.tmp" for input as #1
catch err
print err
' Some error handling could be implemented here
' i.e: if(err = "...") then ...
end try
print "This point is reach, even if opening the file was not possible"
```

0 comments on commit b86ebe5

Please sign in to comment.