× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Try Exit Sub - Exit works but you need to say what is being exited.

Documentation is at http://msdn.microsoft.com/library/en-us/script56/html/vtorivbscript.asp

HTH

At 06:14 AM 11/16/2005, you wrote:

First, I would like to state that I am *not* a Visual Basic
script programmer by any stretch of the imagination :)

With that said, I currently have a VB script written that
is being used as a Client Access macro to process keystroke
entries for automating a couple of user tasks.

In certain instances, I would like to terminate the VB macro
immediately but have not found a key word or statment in the
VB script documentation to do this. I've looked at the EXIT
and TERMINATE keywords but it seems they only end processing
of a subroutine or an event.

Basically, I'm looking for an RPG style *INLR or Cobol type
of END PROGRAM statement.

Any help would be appreciated!

Thanks,
Terry

--
This is the PC Technical Discussion for iSeries Users (PcTech) mailing list
To post a message email: PcTech@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/pctech
or email: PcTech-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/pctech.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.