📄 tst015.mal
字号:
# Testing barriers with variables, constants and expressions b:= true;barrier b; io.printf("1 Correctly entered barrier\n");exit b; b:= false;barrier b; io.printf("1 Incorrectly entered barrier\n");exit b; i:= 1;barrier c:= i==1; io.printf("2 Correctly entered barrier\n");exit c;barrier c:= i==0; io.printf("2 Incorrectly entered barrier\n");exit c;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -