What's odd is that just because the running man has stopped the script is still running in the back ground I started this script and the running man stopped after about 20min or so however the script continued to run for another 8 hours?? Is there a buffer to Procomm that fills?? or is it the machine that it running on that fills a buffer?? All this script does is take a list of numbers i.e. 85000, 85001... and so on and run them through this script however for each number the script must wait for about 15min between numbers for the system it run on to give a responce...
string listmbxfile = " "
PROC main
string f_line
string DREFF
clear
capture off
set capture file "STAR-DEL-REFF.txt"
set capture overwrite on
capture on
sdlginput "Information" "Full Path To Saved Text File: " listmbxfile
transmit "U^M"
waitfor "."
transmit "D REF^M"
waitfor "DEL:"
;Load the txt file
if fopen 0 listmbxfile READ TEXT;
while not feof 0
fgets 0 f_line
strextract DREFF f_line "," 0
transmit DREFF
transmit "^M"
WAITFOR ":"
transmit "Y^M"
waituntil "DEL:"
endwhile
fclose 0
transmit "^M"
waitfor "."
else
errormsg "Couldn't open file '%s'" listmbxfile
endif
capture off
endproc