olliwest
16th April 2008, 16:32
Hello together,
i'm a beginner in developing tools for baan.
i like read a textfile and to compare with an argument, and if true do...
and if false do...
now have the textfile several lines, i tryed with:
while(ret = 0)
ret = seq.gets(stringline,500,seq.id)
if ret = 0 then
if stringline(1;7)="RUNNING" then
message("....")
break
|start.status_ok()
else
message("...")
break
|start.status_off()
endif
endif
endwhile
i need the information in thr 5. line of the text file, it works only in the first.
can everbody help me??
;-)
i'm a beginner in developing tools for baan.
i like read a textfile and to compare with an argument, and if true do...
and if false do...
now have the textfile several lines, i tryed with:
while(ret = 0)
ret = seq.gets(stringline,500,seq.id)
if ret = 0 then
if stringline(1;7)="RUNNING" then
message("....")
break
|start.status_ok()
else
message("...")
break
|start.status_off()
endif
endif
endwhile
i need the information in thr 5. line of the text file, it works only in the first.
can everbody help me??
;-)