ArgV

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > Application functions > App > Arg* >

ArgV

 

Description

 

Returns the value specified at "CommandNumber" position in script command line.

 

Syntax

 

s = App.ArgV(CommandNumber)

 

Returns

 

String.

 

Parameters

 

Name

Type

Optional

Meaning

CommandNumber

Numeric

No

The command option number you want return

 

Remarks

 

At position 0 there is always the full command line.

At position 1 there is always the full path of the script file.

Real commands start at position 2.

 

Restrictions

 

Any of the following chars are used as default command separators: " =-, (double quote, space, equal, minus, comma).

 

See also

 

Examples