📄 tst201.stable.out
字号:
## Can we bat.delete them and re-insert them later on # 62 (_88:str) v29 := bat.delete(b,"fox",4@0); # 63 BKCdelete_bun (v29:void)<-(b:bat[:str,:oid])(_74:str)(_90:oid)#b.delete("fox",4); # 64 (_91:str) v30 := bat.delete(b,"the",1@0); # 65 BKCdelete_bun (v30:void)<-(b:bat[:str,:oid])(_70:str)(_93:oid)#b.delete("the",1); # 66 (_94:str) v31 := bat.delete(b,".",10@0); # 67 BKCdelete_bun (v31:void)<-(b:bat[:str,:oid])(_96:str)(_97:oid)#b.delete(".",10); # 68 (_98:str) v32 := io.print(b); # 69 IOprint_val (v32:void)<-(b:bat[:str,:oid])#b.print; # 70 (_67:str) v33 := bat.insert(b,"fox",4@0); # 71 BKCinsert_bun (v33:void)<-(b:bat[:str,:oid])(_74:str)(_90:oid)#b.insert("fox",4); # 72 (_101:str) v34 := bat.insert(b,"the",1@0); # 73 BKCinsert_bun (v34:void)<-(b:bat[:str,:oid])(_70:str)(_93:oid)#b.insert("the",1); # 74 (_103:str) v35 := bat.insert(b,".",10@0); # 75 BKCinsert_bun (v35:void)<-(b:bat[:str,:oid])(_96:str)(_97:oid)#b.insert(".",10); # 76 (_105:str) v36 := aggr.count(b); # 77 ALGcount_bat (v36:int)<-(b:bat[:str,:oid]) v37 := io.print(v36); # 78 IOprint_val (v37:void)<-(v36:int)#b.count.print; # 79 (_108:str)## Lets cut out a few sections # 80 (_109:str) v38 := algebra.select(b,2@0,4@0); # 81 ALGselect (v38:bat[:str,:oid])<-(b:bat[:str,:oid])(_111:oid)(_90:oid) v39 := io.print(v38); # 82 IOprint_val (v39:void)<-(v38:bat[:str,:oid])#b.select(2,4).print; # 83 (_113:str) v40 := calc.oid(nil:void); # 84 CALCnil2oid (v40:oid)<-(_115:void) v41 := algebra.select(b,7@0,v40); # 85 ALGselect (v41:bat[:str,:oid])<-(b:bat[:str,:oid])(_117:oid)(v40:oid) v42 := io.print(v41); # 86 IOprint_val (v42:void)<-(v41:bat[:str,:oid])#b.select(7,int(nil)).print; # 87 (_119:str) v43 := calc.oid(nil:void); # 88 CALCnil2oid (v43:oid)<-(_115:void) v44 := calc.oid(nil:void); # 89 CALCnil2oid (v44:oid)<-(_115:void) v45 := algebra.select(b,v43,v44); # 90 ALGselect (v45:bat[:str,:oid])<-(b:bat[:str,:oid])(v43:oid)(v44:oid) v46 := io.print(v45); # 91 IOprint_val (v46:void)<-(v45:bat[:str,:oid])#b.select(int(nil),int(nil)).print; # 92 (_124:str)## A 2-dimensional cut # 93 (_125:str) v47 := algebra.fragment(b,"fox","quick",1@0,5@0); # 94 ALGfragment (v47:bat[:str,:oid])<-(b:bat[:str,:oid])(_127:str)(_128:str)(_93:oid)(_129:oid) bns := v47; # 95 (bns:bat[:str,:oid])<-(v47:bat[:str,:oid]) v48 := io.print(bns); # 96 IOprint_val (v48:void)<-(bns:bat[:str,:oid])#bns:=b.fragment("fox","quick",1,5);bns.print; # 97 (_132:str) v49 := calc.str(nil:void); # 98 CALCnil2str (v49:str)<-(_115:void) v50 := algebra.fragment(b,"fox",v49,1@0,5@0); # 99 ALGfragment (v50:bat[:str,:oid])<-(b:bat[:str,:oid])(_127:str)(v49:str)(_135:oid)(_129:oid) v51 := io.print(v50); # 100 IOprint_val (v51:void)<-(v50:bat[:str,:oid])#b.fragment("fox",str(nil),1,5).print; # 101 (_137:str) v52 := calc.str(nil:void); # 102 CALCnil2str (v52:str)<-(_115:void) v53 := calc.oid(nil:void); # 103 CALCnil2oid (v53:oid)<-(_115:void) v54 := calc.oid(nil:void); # 104 CALCnil2oid (v54:oid)<-(_115:void) v55 := algebra.fragment(b,"fox",v52,v53,v54); # 105 ALGfragment (v55:bat[:str,:oid])<-(b:bat[:str,:oid])(_127:str)(v52:str)(v53:oid)(v54:oid) v56 := io.print(v55); # 106 IOprint_val (v56:void)<-(v55:bat[:str,:oid])#b.fragment("fox",str(nil),int(nil),int(nil)).print; # 107 (_143:str) v57 := calc.str(nil:void); # 108 CALCnil2str (v57:str)<-(_115:void) v58 := calc.oid(nil:void); # 109 CALCnil2oid (v58:oid)<-(_115:void) v59 := calc.oid(nil:void); # 110 CALCnil2oid (v59:oid)<-(_115:void) v60 := algebra.fragment(b,v57,"f",v58,v59); # 111 ALGfragment (v60:bat[:str,:oid])<-(b:bat[:str,:oid])(v57:str)(_148:str)(v58:oid)(v59:oid) v61 := io.print(v60); # 112 IOprint_val (v61:void)<-(v60:bat[:str,:oid])#b.fragment(str(nil),"f",int(nil),int(nil)).print; # 113 (_150:str) v62 := bat.reverse(b); # 114 BKCreverse (v62:bat[:oid,:str])<-(b:bat[:str,:oid]) v63 := calc.oid(nil:void); # 115 CALCnil2oid (v63:oid)<-(_153:void) v64 := calc.oid(nil:void); # 116 CALCnil2oid (v64:oid)<-(_153:void) v65 := calc.str(nil:void); # 117 CALCnil2str (v65:str)<-(_153:void) v66 := algebra.fragment(v62,v63,v64,v65,"f"); # 118 ALGfragment (v66:bat[:oid,:str])<-(v62:bat[:oid,:str])(v63:oid)(v64:oid)(v65:str)(_148:str) v67 := io.print(v66); # 119 IOprint_val (v67:void)<-(v66:bat[:oid,:str])#b.reverse.fragment(int(nil),int(nil),str(nil),"f").print; # 120 (_158:str) v68 := bat.reverse(bns); # 121 BKCreverse (v68:bat[:oid,:str])<-(bns:bat[:str,:oid]) v69 := algebra.join(b,v68); # 122 ALGjoin (v69:bat[:str,:str])<-(b:bat[:str,:oid])(v68:bat[:oid,:str]) bnj := v69; # 123 (bnj:bat[:str,:str])<-(v69:bat[:str,:str])#bnj:= b.join(bns.reverse); # 124 (_162:str) v70 := io.print(bnj); # 125 IOprint_val (v70:void)<-(bnj:bat[:str,:str])#bnj.print; # 126 (_164:str) v71 := bat.reverse(bnj); # 127 BKCreverse (v71:bat[:str,:str])<-(bnj:bat[:str,:str]) v72 := algebra.semijoin(b,v71); # 128 ALGsemijoin (v72:bat[:str,:oid])<-(b:bat[:str,:oid])(v71:bat[:str,:str]) bnk := v72; # 129 (bnk:bat[:str,:oid])<-(v72:bat[:str,:oid])#bnk:= b.semijoin(bnj.reverse); # 130 (_168:str) v73 := io.print(bnk); # 131 IOprint_val (v73:void)<-(bnk:bat[:str,:oid])#bnk.print; # 132 (_170:str)## testing the algebra.like command # 133 (_171:str) v74 := bat.reverse(b); # 134 BKCreverse (v74:bat[:oid,:str])<-(b:bat[:str,:oid]) v75 := algebra.like(v74,"ox"); # 135 ALGlike (v75:bat[:oid,:str])<-(v74:bat[:oid,:str])(_174:str) v76 := io.print(v75); # 136 IOprint_val (v76:void)<-(v75:bat[:oid,:str])#b.reverse.like("ox").print; # 137 (_176:str) v77 := bat.reverse(b); # 138 BKCreverse (v77:bat[:oid,:str])<-(b:bat[:str,:oid]) v78 := algebra.like(v77,"fo"); # 139 ALGlike (v78:bat[:oid,:str])<-(v77:bat[:oid,:str])(_179:str) v79 := io.print(v78); # 140 IOprint_val (v79:void)<-(v78:bat[:oid,:str])#b.reverse.like("fo").print; # 141 (_181:str) v80 := bat.reverse(b); # 142 BKCreverse (v80:bat[:oid,:str])<-(b:bat[:str,:oid]) v81 := algebra.like(v80,"fox"); # 143 ALGlike (v81:bat[:oid,:str])<-(v80:bat[:oid,:str])(_184:str) v82 := io.print(v81); # 144 IOprint_val (v82:void)<-(v81:bat[:oid,:str])#b.reverse.like("fox").print; # 145 (_186:str) v83 := bat.reverse(b); # 146 BKCreverse (v83:bat[:oid,:str])<-(b:bat[:str,:oid]) v84 := algebra.like(v83," fox"); # 147 ALGlike (v84:bat[:oid,:str])<-(v83:bat[:oid,:str])(_189:str) v85 := io.print(v84); # 148 IOprint_val (v85:void)<-(v84:bat[:oid,:str])#b.reverse.like(" fox").print; # 149 (_191:str)#quit; # 150 (_192:str)end main; # 151 #-------------------------## h t # name# str oid # type#-------------------------#[ "the", 1@0 ][ "quick", 2@0 ][ "brown", 3@0 ][ "fox", 4@0 ][ "jumps", 5@0 ][ "over", 6@0 ][ "lazy", 7@0 ][ "dog", 8@0 ][ nil, 9@0 ][ ".", 10@0 ][ "", nil ][ nil, nil ][ 1@0 ][ 4@0 ][ nil ][ "MALException:algebra.find:can not find element" ]#-------------------------## h tmp_4 # name# str int # type#-------------------------#[ "", nil ][ "quick", 2@0 ][ "brown", 3@0 ][ nil, nil ][ "jumps", 5@0 ][ "over", 6@0 ][ "lazy", 7@0 ][ "dog", 8@0 ][ nil, 9@0 ][ 12 ]#-------------------------## h tmp_5 # name# str int # type#-------------------------#[ "quick", 2@0 ][ "brown", 3@0 ][ "fox", 4@0 ]#-----------------## h tmp_6 # name# str int # type#-----------------#[ "lazy", 7@0 ][ "dog", 8@0 ][ nil, 9@0 ][ ".", 10@0 ]#-------------------------## h t # name# str oid # type#-------------------------#[ "quick", 2@0 ][ "brown", 3@0 ][ "jumps", 5@0 ][ "over", 6@0 ][ "lazy", 7@0 ][ "dog", 8@0 ][ nil, 9@0 ][ "fox", 4@0 ][ "the", 1@0 ][ ".", 10@0 ]#-------------------------## h t # name# str oid # type#-------------------------#[ "quick", 2@0 ][ "jumps", 5@0 ][ "fox", 4@0 ]#-------------------------## h t # name# str oid # type#-------------------------#[ "quick", 2@0 ][ "jumps", 5@0 ][ "fox", 4@0 ][ "the", 1@0 ]#-------------------------## h t # name# str oid # type#-------------------------#[ "quick", 2@0 ][ "jumps", 5@0 ][ "over", 6@0 ][ "lazy", 7@0 ][ "fox", 4@0 ][ "the", 1@0 ]#-------------------------## h tmp_11 # name# str int # type#-------------------------#[ "", nil ][ "brown", 3@0 ][ nil, nil ][ "dog", 8@0 ][ nil, 9@0 ][ ".", 10@0 ]#-------------------------## h tmp_12 # name# int str # type#-------------------------#[ nil, "" ][ 3@0, "brown" ][ nil, nil ][ 8@0, "dog" ][ 9@0, nil ][ 10@0, "." ]#---------------------------------## h tmp_13 # name# str str # type#---------------------------------#[ "quick", "quick" ][ "jumps", "jumps" ][ "fox", "fox" ]#-------------------------## h tmp_14 # name# str int # type#-------------------------#[ "quick", 2@0 ][ "jumps", 5@0 ][ "fox", 4@0 ]#-----------------## h tmp_15 # name# int str # type#-----------------#[ 4@0, "fox" ]#-----------------## h tmp_16 # name# int str # type#-----------------#[ 4@0, "fox" ]#-----------------## h tmp_17 # name# int str # type#-----------------#[ 4@0, "fox" ]#-----------------## h tmp_18 # name# int str # type#-----------------## 07:59:19 > # 07:59:19 > Done.# 07:59:19 >
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -