ejGetVar | GoAhead JavaScript API | GoAhead EMF |
Get the value of a JavaScript variable
#include "ej.h" char_t* ejGetVar(int eid, char_t *variable);
eid | JavaScript interpreter handle |
variable | Name of JavaScript variable |
The ejGetVar procedure returns the current value of the JavaScript variable.
Returns a pointer to the current value. Returns NULL if the variable does not exist.
ejGetVar(eid);