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

Using a select case statement on mscomm.input data

Status
Not open for further replies.

alanjmartin

Technical User
May 17, 2005
13
GB
I have been trying to write a script which will read data from a table and make a call to a remote site. So far so good.
At the moment I read the mscomm.input using Instr to find a fixed string, this is ok until it produces a different response.
I then need to grab the data fed back from the site and depending what is there produce a log entry.
Is there any way of taking the mscomm.input and using something like select statement to say if it finds "busy" do x; if it finds "clr do y.
Can anyone help?

Alan

 
CMP
Thanks for that. I will try some of that today.

Alan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top