StrDict::GetVar( int, StrPtr &, StrPtr & )

Return the value of the specified variable, or NULL if not defined.

Virtual?

No

 

Class

StrDict

 

Arguments

int i

the index of a variable in the StrDict

 

StrPtr &var

the name of the variable at that index, if any

 

StrPtr &val

the value found at that index, if any

Returns

int

the value, or zero if no variable found

Notes

This method is typically used when iterating through a StrDict.

For the most part, all of the GetVar() methods are equivalent.

For details, see StrDict::GetVar( const StrPtr & )