ProgramParameter()

Syntax

Result$ = ProgramParameter(Index)
Description
Gets the specified parameter that was set in the URL.

Parameters

Index The parameter to get. The first parameter index starts from 0.

Return value

The parameter and it's associated value, if any. StringField() can be used to split the parameter and its value.

Example

  For Index = 0 To CountProgramParameters() - 1
    Debug ProgramParameter(Index)
    Debug "name: " + StringField(ProgramParameter(Index), 1, "=")
    Debug "value: " + StringField(ProgramParameter(Index), 2, "=")
  Next

Supported OS

All

<- LoadStyle() - System Index - VibrateDevice() ->