📄 tst1014.mal
字号:
# now within a function to assure that reference counting# takes care of releasing the variables.function test(); io.print("test"); bbp.open(); x:= bbp.getObjects(); io.print(x); io.print("test"); b:= bat.new(:int,:int); bat.insert(b,1,2); bbp.deposit("myfirstbat",b); c:= bbp.take("myfirstbat"); io.print(c); bbp.close();# at the end of the call, the BBP should have discarded# the temporary bats of the userend test;user.test();io.print("continue");bbp.open();x:= bbp.getObjects();io.print(x);v:= bbp.take("myfirstbat");io.print(v);bbp.close();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -