From Wikibooks, open books for an open world
Jump to navigation Jump to search

Back to Gambas

Environment variables and command line parameters[edit | edit source]

Please refer to the official wiki:

A small example :

  Dim arg as String 
  arg = Args[0] ' Get the first commandline parameter
  Print arg
  Print Env["USER"] ' case sensitive!