This wiki is out of date, use the continuation of this wiki instead

Argv

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
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]]'' is the last argument.+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

Up to Global Variables



[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
ArgcArgvCdinfoDump_typeFadingFileinfoFpsFrame_timeFull_screenGraph_modeMouseOs_idRestore_typeScale_modeScrollSound_channelsSound_freqSound_modeText_flagsText_zTimer
Personal tools