Command:Test

From Lavish Software Wiki
Revision as of 17:59, 21 February 2005 by Lax (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

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