Skip to content

CountOfArgs - cCommandLine

Returns the number of arguments passed to the program

Type: Function
Return Data Type: Integer

Syntax

Function CountOfArgs Returns Integer

Call Example

Get CountOfArgs to IntegerVariable

Description

The CountofArgs function returns the number of arguments passed to the program. You can use the Argument method to retrieve any argument.

Return Value

The number of arguments passed to the program