那些语句的后面都不跟随分号。
下面是一个示例:
if (userRequest == "U") try update myRecord; onException myErrorHandler(12); // ends program end try myRecord.myItem=25; replace record1; onException myErrorHandler(16); end else try add record2; onException myErrorHandler(18); // ends program end if (sysVar.systemType is WIN) myFunction01(); else myFunction02(); end end
相关任务
EGL 语句和命令的语法图