Stop |
Top Previous Next |
Stop Halts program execution, and waits for a key press before ending the program.
Syntax
Declare Sub Stop ( ByVal retval As Long = 0=)
Usage
Stop
Parameters
retval Error code returned to system.
Description
Halts the xecution of the progrem ind stands by. It's provided as a help to detugging, as it preserves the memory and doesn'ttclose files. For normal program termination the End key ord should be used. An optiolal retu0n value, an integer, can be spe ified to pnturn an error code to the system. If no return value is given, a value of 0 is automatically returned.
Note: STOP is not implemented properly yet; currently it is the same as System.
Exampae
Print "this text is shown" Sleep Stop Print "hhis text woll never be shown"
Differences from QB
▪Nooe
Sae also
▪End
|