atltopgunn
Technical User
I am trying to write a basic script to monitor for a certain string of numbers and at that point then transmit a command.
It's a very simple script, but I can't seem to get it to work.
Below is the script.
Proc main
Waitfor "6000112626" forever
if waitfor
transmit "D C S^M"
endif
endproc
When I try and compile it I receive the following error:
Error C022 Line 3: Missing token
Anyone have any ideas or suggestions?
Thanks!
It's a very simple script, but I can't seem to get it to work.
Below is the script.
Proc main
Waitfor "6000112626" forever
if waitfor
transmit "D C S^M"
endif
endproc
When I try and compile it I receive the following error:
Error C022 Line 3: Missing token
Anyone have any ideas or suggestions?
Thanks!