The system function SysLib.getCmdLineArgCount returns the number of arguments that were used to start the main EGL program.
SysLib.getCmdLineArgCount( ) returns (result INT)
count int; argument char(20); count = 0; argumentCount = SysLib.getCmdLineArgCount(); while (count < argumentCount) argument = SysLib.getCmdLineArg(count) count = count + 1; end
The SysLib.getCmdLineArgCount function is supported only in Java™ environments.
Use the SysLib.getCmdLineArg function to get the specified argument from the list of arguments with which the EGL program was invoked.
Related concepts
Syntax diagram for EGL functions
Related reference
EGL library SysLib
getCmdLineArg()