Skip to main content

argstr

Description

Get the string value of an argument by name.

NameDescription
skip = 0The number of arguments (with potentially the same name) to skip.
const argument[] = ""The name of the argument, including -s and /s.
value[] = ""The output string destination.
size = sizeof (value)The size of the destination.
bool:pack = falseShould the return value be packed?

Returns

true - the argument was found, false - it wasn't.

  • argcount: Get the number of arguments passed to the script (those after --).
  • argindex: Get the name of the argument at the given index after --.
  • argvalue: Get the number of arguments passed to the script (those after --).