I'm still hanging on to some Microscript apps that I haven't converted yet. I need to know how to handle the WaitFor() function from Microscript Workstation ver 5.0 here is a small code sample:
 
    intResult5 = DS1.WaitFor(-1, -1, "Enter employee maximum amount", _
            "Enter employee flat amount", 1000)
   Select Case intResult5
        Case 1
                      Do something
       Case 2
                     Do something
       Case Else
                     Do something
   End Select    '}-> Select Case intResult5
This piece of code waits for multiple strings to appear at the transaction line (Star McKesson). In this case 2 different strings. If the first string is found, a value of 1 is stored in intResult5. If the second string is found, a value of 2 is stored in intResult5. Screen flow is controlled by passing the value of intResult5 to a Select Case statment.
 
What would be the equivalent function, coding in BWS.
 
Thanks,
 
Dwight Clevenger
Senior System Analyst
Baptist Health System
San Antonio, TX.
210-297-1663
[EMAIL PROTECTED]


This email and any files transmitted with it may contain information
that is PRIVILEGED AND CONFIDENTIAL. It is the property of the
Baptist Health System and is intended only for the use of the intended
recipient. If you have received this email in error, do not
disseminate, distribute, forward, print or copy this email or any of
its' attachments. Immediately destroy/purge the email and all
attachments and notify the sender by reply of email. Any misuse/abuse
may result in disciplinary action and/or legal liability. Unauthorized
interception of this email is a violation of federal law.

Reply via email to