- This wiki is out of date, use the continuation of this wiki instead
Argv
From FenixWiki
(Difference between revisions)
Sandman (Talk | contribs)
(New page: category:variables category:predefined category:global variables '''Up to Global Variables''' ---- == Definition == '''STRING[32]''' argv '''Argv''' i...)
Next diff →
Revision as of 01:21, 29 December 2007
Definition
STRING[32] argv
Argv is a global variable, holding how and with what arguments FXI was called.
argv[0] | - How the FXI was called without arguments. |
argv[1] | - First argument. |
argv[2] | - Second argument. |
argv[n] | - nth argument. |
If an argument was not given, the corresponding string will be ""
. The number of arguments passed can be found with argc. This means that argv[argc]] is the last argument.
Global variables | |
• Argc • Argv • Cdinfo • Dump_type • Fading • Fileinfo • Fps • Frame_time • Full_screen • Graph_mode • Mouse • Os_id • Restore_type • Scale_mode • Scroll • Sound_channels • Sound_freq • Sound_mode • Text_flags • Text_z • Timer • |