Difference between revisions of "Command:Break"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== Syntax ==
 
== Syntax ==
 
{{CMD-DR|Break|Beginner|Intermediate|Beginner|Intermediate}}
 
{{CMD-DR|Break|Beginner|Intermediate|Beginner|Intermediate}}
 +
Break
  
 
== Description ==
 
== Description ==
 +
Used within a [[Command:While|While]] loop, "breaks" the loop and continues execution after the While.  Used within a [[Command:Switch|Switch]], "breaks" the switch and continues execution after the [[Command:EndSwitch|EndSwitch]].  This command is not valid at any other time.
  
 
== Examples ==
 
== Examples ==

Revision as of 01:19, 24 March 2005

Syntax

Command Difficulty Rating
Break
Usage Beginner
Level of Understanding Intermediate
Computer Savvy Beginner
Logic Intermediate

Break

Description

Used within a While loop, "breaks" the loop and continues execution after the While. Used within a Switch, "breaks" the switch and continues execution after the EndSwitch. This command is not valid at any other time.

Examples

See Also