ProgramParameter()

Syntax

Parameter$ = ProgramParameter()

Description

Get the next parameter string passed when the executable has been launched.

Example:
  MyProgram.exe MyText.txt /FAST "Special Mode" 
The first time than ProgramParameter() is called, it will return "MyText.txt", the second time "/FAST" and the third time "Special Mode". If no more parameter, it will return an empty string.

Supported OS

Windows, AmigaOS, Linux

Misc - Index