- Introduction
- License
- History
- Compilation & Hosting
- Configuration File
- Modules:
- FAQ
- Links
- Credits
|
Declaration:
-
function web_get_var(const name: string): string;
function web_get_varf(const name: string): double;
function web_get_vari(const name: string): longint;
Arguments:
-
Description:
-
Returns value of macro PSP variable. Search order is:
- Dynamic (template) variables
- Session variables
- Cookie variables
- CGI variables
Returns:
-
Variable value as string, double precision float or long integer or empty/null on error.
Usage:
-
s := web_get_var('name');
i := web_get_vari('count');
r := web_get_varf('price');
See also:
-
web_set_var.
|