📄 tst304.mal
字号:
# Exceptions can be explicitly raised in a function# which requires the exception identifier to be defined.function myException();raise PermissionDeniedException :="new exception\n"; io.print("should have left function ");end myException; user.myException(); io.print("should not come here");#exception block;catch MALException:str; io.printf("catched IllegalAccess\n");exit MALException; io.print("done");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -