📄 tst2504.mal
字号:
# The prototypical factory construct# test factory return and restartfactory random(seed:int):int; random:= seed; i:= seed; i:= 125 *i; i:= i % 32767; yield i; i:= 125 *i; i:= i % 32767; yield i;end random;r1:= user.random(1);io.print(r1);r2:= user.random(1);io.print(r2);r2:= user.random(1);io.print(r2);r2:= user.random(1);io.print(r2);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -