Home > lang > stop 
 fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
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