📄 tst034.mal
字号:
# test the reference counting schemeb:= bat.new(:int,:int);bat.insert(b,0,0);bat.insert(b,1,1);bat.insert(b,2,2);bat.insert(b,3,3);i:= bbp.getLRefCount(b);io.printf("start of selections %d [1]\n",i);z:= algebra.select(b,0,2); io.print(z);i:= bbp.getLRefCount(z);io.printf("z select %d [1]\n",i);i:= bbp.getLRefCount(b);io.printf("select %d [1]\n",i);z:= algebra.select(b,0,2,true,false); io.print(z);i:= bbp.getLRefCount(b);io.printf("select %d [1]\n",i);z:= algebra.select(b,0,2,false,true); io.print(z);z:= algebra.select(b,0,2,false,false); io.print(z);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -