Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>argv() - get a command line argument as a string</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     argv() - get a command line argument as a string
  Usage:    <string> = argv(<argument>)
  Params:   integer <argument> - the command line argument to return
  Returns:  a string equal to the specified command line argument, or
            null if no command line argument for the argument passed
            was specified

 ---------------------------------- Example ---------------------------------

                 ? "Command line arguments are:"
                 for x = 1 to argc()
                      ? argv(x)
                 next

  Note:     Specifying 0 as the command line parameter you want
            will return the program name that is currently running


See Also: argc() program() command()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson