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

aspect script sdlginput 1

Status
Not open for further replies.

emx5000

Technical User
Oct 1, 2008
1
US
I am running ascept scripts on procomm plus. when using the sdlginput, how can i get the script to exit (or quit)when o press the "cancel" button? if i push "cancel"the script continues as if i input something, but with no data.
 
sdlginput is one of the commands that returns success or failure after it has executed. According the help file, failure will be returned if the user presses the Cancel button. You can check as such in this manner.

sdlginput ...
if failure
exit
endif
script continues here...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top