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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bypassing a section of code

Status
Not open for further replies.

Matta25

Technical User
Jan 6, 2004
82
US
I have a script that dials into a bbs and chooses a 1 on the menu and if there are no file to download the script ends. I need the script to bypass the download section and continue to option 2 and if there are no files to download then bypass the download section and try option 3.
If on option 1 there is not files to download i get this message: "NO ANSI FUNC ACKNMENT REPORTS AVAILABLE FOR USER AT THIS TIME" is there a way to have procomm see this message and jump down say 10 lines of code to the next menu option.
Thanks
 
There are a couple different ways to handle this. Probably the easiest is to use the waitlist procedure that another user sent me, which uses three when target commands under the covers to look for up to three different strings, then reports which of the three strings was sent by the system. Here is the link:


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top