Difference between revisions of "Command:Test"

From Lavish Software Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 28: Line 28:
 
== See Also ==
 
== See Also ==
 
*[[LavishScript:Commands|Commands]]
 
*[[LavishScript:Commands|Commands]]
 +
 +
[[Category:LavishScript]]
 +
[[Category:LavishScript Commands]]

Latest revision as of 23:28, 25 May 2005

Syntax

Command Difficulty Rating
Test
Usage Newbie
Level of Understanding Beginner
Computer Savvy Newbie
Logic Beginner

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