getCmdLineArgCount()

The sysLib.getCmdLineArgCount() system function returns the number of arguments that were used to start the main EGL program.

Use the sysLib.getCmdLineArg() function to return a specific argument from the list.

Syntax

  sysLib.getCmdLineArgCount( )
  returns (result INT)
result
The result is the number of arguments.

Compatibility

Table 1. Compatibility considerations for getCmdLineArgCount()
Platform Issue
COBOL generation The sysLib.getCmdLineArgCount() function is not supported.
JavaScript generation The sysLib.getCmdLineArgCount() function is not supported.

Feedback