[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Returns the value of a configuration variable or a default value.
Source position: line 0
public function TTemplateApplication.VarAsIntDef( |
const Name: string; |
Def: Integer |
):Integer; |
Index: Integer; |
Def: Integer |
):Integer; |
If conversion is possible and if configuration variable, denoted by Name or Index, exists then returns its value as integer. Otherwise returns Def.