查看完整内容
inPort=infile("fileName")
when(inPort
while(gets(nextLine inPort)
labels=parseString(nextLine)
label=nth(0 labels)
x=nth(1 labels)
y=nth(2 labels)
layer=nth(3 labels)
sublayer=nth(4 labels)
......
dbCreateLabel(...)
......
);end while
close(inPort)
);end when
更优写法:
labelsList=tconc(nil nil)
inPort=infile("fi ...