Gambas/Environment

Back to Gambas

Environment variables and command line parameters

edit

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!