📄 pbm00.mal
字号:
# initialize the BAT partition box.# to be used in the other pbm* tests pbm.open(); b1:= bat.new(:oid,:int); bat.setPersistent(b1); pbm.deposit("Sales2005","06",b1); b2:= bat.new(:oid,:int); bat.setPersistent(b2); pbm.deposit("Sales2005","07",b2); b3:= bat.new(:oid,:int); bat.setPersistent(b3); pbm.deposit("Sales2005","08",b3); c1:= bat.new(:oid,:int); bat.setPersistent(c1); pbm.deposit("Invoice2005","06",c1); c2:= bat.new(:oid,:int); bat.setPersistent(c2); pbm.deposit("Invoice2005","07",c2); c3:= bat.new(:oid,:int); pbm.deposit("Invoice2005","08",c3); bat.setPersistent(c3); n:= pbm.getNames(); # get content of partitition catalogue. io.print(n); pbm.dump();barrier (nr,grp,elm):= pbm.newIterator(); io.print(grp,elm); redo (nr,grp,elm):=pbm.getNextName();exit (nr,grp,elm); pbm.close(); io.print("done");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -