CitectVBA Programming Reference > Understanding CitectVBA Language Basics > Control Structures > Stop statement

Stop statement

Ends execution of the program. The Stop statement can be placed anywhere in your code.

Example

Dim x,y,z
For x = 1 to 5
For y = 1 to 5
For z = 1 to 5
Print "Looping",z,y,x
Next z
Next y
Stop
Next x

See Also

Control Structures

Published June 2018