Args.GetInteger (gb.args)

Static Function GetInteger ( ShortName As String, LongName As String [ , Description As String, ArgName As String, Default As Integer ] ) As Integer

Define an option that takes one integer number argument, and return it.

  • ShortName is the short name of the option without the dash. (i.e. "o" for -o).

  • LongName is the full name of the option without the two dashes (i.e. "option" for --option).

  • Description is an optional text that describes the option. This will be used if the --help option is requested.

  • ArgName is the name of the option argument used by the --help option.

  • Default is the default value that will be returned if the option is not specified.