Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Transmit "^m" until correct response 1

Status
Not open for further replies.

mposey

Technical User
Dec 1, 2005
2
0
0
US
I am in need of so help on creating a script that will send "^M" until the response that I am looking for is returned then transmit the corrected value . The problem I am having is that I creat a continuous loop that I have to manually exit. Any suggestion or help would be greatly appreciated

Mike
 
How bout something like this...

integer a = 1

Label1:
if not Waitfor "xxxx" a
Transmit "^M"
goto label1

else

- whatever you need -

endif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top