getnumofcmdinputs

Gets the number of command line arguments as part of the -input option while launching the application.

Syntax

R = getnumofcmdinputs

Outputs

R
Type: integer

Examples

Gets the number of command line arguments when run with the following command line options: -input foo1.oml and -f foo2.oml.

R = getnumofcmdinputs
R = 1