Command:Test

From Lavish Software Wiki
Revision as of 23:28, 25 May 2005 by Eleven (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

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