ArgC

<< Click to Display Table of Contents >>

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

ArgC

 

Description

 

Retrieve the number of commands specified in script command line.

 

Syntax

 

n = App.ArgC

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning





 

Remarks

 

This command will always report as minimum value 1 because at position 1 there will always be the full path of the script file.

 

Restrictions

 

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

 

See also

 

Examples