help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Procedures and functions] Reference for unit 'pwumain' (#powtils_main)

GetCfgVar

Declaration

Source position: pwumain.pas line 98

function GetCfgVar(

  const name: String

):String;

Notes

Gets the currently set configuration variable value.

Examples of configuration variables are:

A list of config variables are available in your pwu_unix or pwu_win configuration file included with your copy of Powtils.

Example

var
  tmp: string
begin
  tmp:= GetWebConfigVar('error_reporting');
  webwrite(tmp);
end.





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505