Difference between revisions of "Command:Case"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== Syntax ==
 
== Syntax ==
 
{{CMD-DR|Case|Intermediate|Intermediate|Beginner|Intermediate}}
 
{{CMD-DR|Case|Intermediate|Intermediate|Beginner|Intermediate}}
 +
Case <text>
  
 
== Description ==
 
== Description ==
 +
Used within a [[Command:Switch|Switch]], this marks the beginning of what should be executed if the text matches what was given to [[Command:Switch|Switch]].
  
 
== Examples ==
 
== Examples ==
 +
*Case "Multiple words must be quoted"
  
 
== See Also ==
 
== See Also ==
 +
*[[Command:Break|Break]]
 
*[[LavishScript:Commands|Commands]]
 
*[[LavishScript:Commands|Commands]]
 
{{Command-Stub}}
 
{{Command-Stub}}

Revision as of 01:25, 24 March 2005

Syntax

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

Case <text>

Description

Used within a Switch, this marks the beginning of what should be executed if the text matches what was given to Switch.

Examples

  • Case "Multiple words must be quoted"

See Also