getargc

Gets the number of command line arguments, argc, that the application is launched with.

Syntax

R = getargc

Outputs

R
Type: integer

Examples

Gets the number of command line arguments when run with the following command line options: -v 2019.2.
R = getargc
R = 9