Next Topic

Previous Topic

Book Contents

GetArgumentCount

int GetArgument()

Return values

The number of arguments passed to the program by a calling application.

Remarks

A calling application can pass a number of arguments to a Lua script to customize its behaviour. With this function the programmer can determine how many arguments there is to extract.