📄 tst1005.mal
字号:
# the first of a series of BBP test cases# make sure you can bind to a BAT through the boxbbp.open();b:= bat.new(:int,:int);bat.insert(b,1,2);bat.setName(b,"myfirstlocalbat");c:= bbp.bind("myfirstbat");io.print(c);bbp.close();# at the end of the session, the BBP should have discarded# the temporary bats of the userbbp.open();v:= bbp.take("myfirstbat");catch MALException:str; io.printf("%s\n",MALException);exit MALException;io.print("v");io.print(v);x:= bbp.getObjects();io.print("getObjects");io.print(x);bbp.close();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -