eValue_t eGetVar

(eVariables_t v,
  eVarId_t id)

Get value of a variable.

Documentation

Gets value of variable id in structure v. Variable no. id HAS TO exist.
Returns:
Value of the variable if it exists, otherwise undefined (actually 0 ;).
See Also:
eAddVar(), eGetVarId(), eGetVarName(), eGetVarPtr(), eSetVar(), eIsVarName()

Alphabetic index


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