TTemplateVars.IndexOfVar function
Returns the index of the variable with the specified name
Declaration
function IndexOfVar(const AName: string): IntegerArguments
AName | The name of the variable to search for |
Function result
The index of the variable, or -1 if not found
Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
