< Gambas

Back to Gambas

Environment variables and command line parameters

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!
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.