411 REFERENCE · Wikibooks
Gambas/Environment
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Back to Gambas
Environment variables and command line parameters
Please refer to the official wiki:
http://gambaswiki.org/wiki/comp/gb/args
http://gambaswiki.org/wiki/comp/gb/env
A small example :
Dim arg as String
arg = Args[0] ' Get the first commandline parameter
Print arg
Print Env["USER"] ' case sensitive!