global._argc
syntax: |
_argc |
description: |
This property refers to the number of parameters passed to the main() function of a script. The name of the script is always the first parameter, so if _argc == 1, then the script received no arguments. See the main() function for more information on argc and the main() function. General programming practice uses argc, a parameter to the main()function rather than _argc.
|
see: |
|
example: |
function main(argc, argv) { // At this point, unless deliberately changed // by special programming, _argc == argc } |