tst1005.mal

来自「一个内存数据库的源代码这是服务器端还有客户端」· MAL 代码 · 共 24 行

MAL
24
字号
# 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 + =
减小字号Ctrl + -
显示快捷键?