[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'UPasConf' (#Pkg)

TTemplateApplication.VarAsStr

Returns the value of a configuration variable.

Declaration

Source position: line 0

public function TTemplateApplication.VarAsStr(

  const Name: string

):string;

function TTemplateApplication.VarAsStr(

  Index: Integer

):string;

Description

Returns as string the value of the configuration variable denoted by Name or Index.

Raises EPasConfError if the variable does not exist.