aboutsummaryrefslogtreecommitdiff
path: root/plugin/examples
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/examples')
-rw-r--r--plugin/examples/highlighting.cps6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugin/examples/highlighting.cps b/plugin/examples/highlighting.cps
index 9925bf3..7b30bb7 100644
--- a/plugin/examples/highlighting.cps
+++ b/plugin/examples/highlighting.cps
@@ -39,3 +39,9 @@ ENDPROCEDURE
OPENFILE "example.txt" FOR WRITE
WRITEFILE "example.txt", Text
CLOSEFILE "example.txt"
+
+TRY
+ THROW
+CATCH
+ OUTPUT "Caught an exception"
+ENDTRY