eVarId_t eGetVarId

(eVariables_t v, const char* name)

Get ID of a variable of a given name.


Gets ID of a variable from v that has a name of name. Names are case-sensitive.
Returns ID of the variable on success or -1 when variable of the given name doesn't exist.
See Also:
eAddVar(), eGetVarName(), eGetVarPtr(), eSetVar(), eGetVar(), eIsVarName()

Alphabetic index

libsexpr - a simple library for parsing arithmetic expressions
© 2003 by Marcin Simonides