Home > lang > stop 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
STOP
STOP

Stops the program and wakes up the debugger, as if there was a breakpoint on the current line.

This instruction does nothing if the program is not debugged.

In Visual Basic™ the STOP statement terminates program execution. Use QUIT for that purpose in Gambas.

Example

' Stop if the following condition is true
If Name = "Gates" Or Name = "Ballmer" THEN STOP

See also

Miscellaneous Control Structures, · QUIT