Stop Statement


Stop Statement

Syntax

     Stop 

Description

The Stop statement suspends program execution.

Usage at a Glance

  • There is no limit to the number and position of Stop statements within procedures.

  • The Stop statement acts like a breakpointplacing the program in break mode and highlighting the current line in the development environmentallowing you to step through the code line by line.

  • Stop is intended primarily for use in the design-time environment, where it suspends program execution without terminating it. In the runtime environment, Stop invokes the debugger.

  • Unlike the End statement, Stop does not explicitly close any open files or clear any variables, except in a compiled executable.

See Also

End Statement




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net