📄 test_05.mils
字号:
setoid(oid(20000000));# escape sequences# first some basics, escaped characters are normalizedprint("got single quote \' ."); # remove superfluous escapesprint("got single quote ' without escape");print("got tab \t and single newline \n .");print("problem signalled before \\\"");var t0:= "got single quote \' ."; t0.print();var t1:= "got single quote ' without escape"; t1.print();var t2:= "got tab \t and single newline \n ."; t2.print();var t3:= "problem signalled before \\\""; t3.print();# character constantsvar c0:= "\n"; c0.print();var c1:= "\'"; c1.print();var c2:= "\\"; c2.print();var s:=new(int,str,100);s.insert(2," single quote \' got it");s.insert(4," backslash \\ ");s.insert(3," single quote ' ");s.print();# Monet printf should behave as in Cprintf("got single quote \' .\n"); # remove superfluous escapesprintf("got single quote ' without escape\n");printf("got tab \t and newline \n .\n");printf("problem signalled before \\\"\n");quit();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -