📄 tst1004.mal
字号:
# the first of a series of BBP test casesio.print("Start test");bbp.open();b:= bat.new(:int,:int);bat.insert(b,1,2);bbp.deposit("myfirstbat",b);c:= bbp.take("myfirstbat");catch MALException:str; io.print(MALException);exit MALException;io.print("FIRST ROUND");io.print(c);bbp.close();# at the end of the session, the BBP should have discarded# the temporary bats of the userbbp.open();io.print("SECOND ROUND");y:=bbp.getObjects();io.print(y);v:= bbp.take("myfirstbat");catch MALException:str; io.print(MALException);exit MALException;io.print("got myfirstbat?");io.print(v);x:= bbp.getNames();io.print(x);bbp.close();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -