Sign in Join
FPDoc Onlineexperiment

TEZcgi.GetValue function

Member of TEZcgipublicIn unit EzCgi

Return the value of a request variable.

Declaration

pascal
function GetValue(const Index: string; const defaultValue: string)
: string

Arguments

Index

Name of variable.

defaultValue

Value to return in case variable is empty.

Function result

Value of variable.

Description

GetValue returns the value of the variable named Index, and returns DefaultValue if it is empty or does not exist.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.