I can't figure out how to use the PARSE VALUE WITH command on multiple lines.
I have this command:
PARSE VALUE data WITH "0013" port .
SAY "Error 0013 on port " port
It works fine on the first instance, but not on multiple.
The output it's reading is:
0001 0006 0020 02/13/13 07:14:00
0002 0006 0114 02/13/13 07:18:00
0003 0012 042416 02/13/13 07:15:00
0004 0013 081100 02/13/13 07:15:00
0005 0013 093000 02/13/13 07:15:00
0006 0025 061700 02/13/13 07:16:00
I've tried running the command on the number of lines of data,
but it only repeats the first instance (in this example "081100"
will get reported 6 times).
Any help is appreciated.
I have this command:
PARSE VALUE data WITH "0013" port .
SAY "Error 0013 on port " port
It works fine on the first instance, but not on multiple.
The output it's reading is:
0001 0006 0020 02/13/13 07:14:00
0002 0006 0114 02/13/13 07:18:00
0003 0012 042416 02/13/13 07:15:00
0004 0013 081100 02/13/13 07:15:00
0005 0013 093000 02/13/13 07:15:00
0006 0025 061700 02/13/13 07:16:00
I've tried running the command on the number of lines of data,
but it only repeats the first instance (in this example "081100"
will get reported 6 times).
Any help is appreciated.