Returns the index of the variable with the specified name
Source position: fpweb.pp line 98
public function TTemplateVars.IndexOfVar( |
const AName: string |
):Integer; |
AName |
|
The name of the variable to search for |
The index of the variable, or -1 if not found
Searches for a template variable with the given name and returns its index in the collection. Returns -1 if no variable with the specified name is found.
|
Returns the variable with the specified name |
|
|
Searches for a variable with the specified name |