getCmdLineArgCount
The system function getCmdLineArgCount returns the number of arguments or parameters that were used to start the main EGL program.
- count
- The count can be any integer.
The following code example loops through the argument list:
count int; argument char(20); count = 0; argumentCount = getCmdLineArgCount(); while (count < argumentCount) argument = getCmdLineArg(count) count = count + 1; endThe getCmdLineArgCount function is supported only in Java environments.
Use the getCmdLineArg function to get the specified argument from the list of arguments with which the EGL program was involved.
Related reference
getCmdLineArg