diff --git a/examples/try_catch.claro b/examples/try_catch.claro new file mode 100644 index 0000000..5752d2d --- /dev/null +++ b/examples/try_catch.claro @@ -0,0 +1,7 @@ +TRY + READ FILE "missing.txt" AS t + SAY t +CATCH + SAY "Could not read file." + SAY LASTERROR +ENDTRY