- This wiki is out of date, use the continuation of this wiki instead
Argv
From FenixWiki
(Difference between revisions)
Revision as of 01:21, 29 December 2007 (edit) Sandman (Talk | contribs) (New page: category:variables category:predefined category:global variables '''Up to Global Variables''' ---- == Definition == '''STRING[32]''' argv '''Argv''' i...) ← Previous diff |
Current revision (08:53, 1 February 2009) (edit) (undo) 79.88.33.10 (Talk) (→Definition) |
||
Line 22: | Line 22: | ||
|} | |} | ||
- | If an argument was not given, the corresponding string will be <code>""</code>. The number of arguments passed can be found with [[argc]]. This means that ''argv[argc | + | If an argument was not given, the corresponding string will be <code>""</code>. The number of arguments passed can be found with [[argc]]. This means that ''argv[argc]'' is the last argument. |
{{Globals}} | {{Globals}} |
Current revision
[edit] 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 • |