Difference between revisions of "Command:Test"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 26: Line 26:
  
 
== See Also ==
 
== See Also ==
 +
*[[LavishScript:Commands|Commands]]

Revision as of 06:05, 28 February 2005

Syntax

Test [parameters ...]

Description

Displays the number of parameters given, and each parameter individually. This command is generally used in place of other commands to see how the parameters are passed to the command.

Examples

Example 1

Input

Test ${System.OS}

Output
Console Command Tester
Arguments: 4
Argument 0: 'test'
Argument 1: 'Microsoft'
Argument 2: 'Windows'
Argument 3: 'XP'

Example 2

Input

Test "${System.OS}"

Output
Console Command Tester
Arguments: 2
Argument 0: 'test'
Argument 1: 'Microsoft Windows XP'

See Also