ejSetVar | GoAhead JavaScript API | GoAhead EMF
## Synopsis Set the value of a JavaScript variable ## Prototype
    #include "ej.h"

    void ejSetVar(int eid, char_t *variable, char_t *value);
## Parameters
eid | JavaScript interpreter handle
variable | Name of the JavaScript variable
value | Value to set
## Description The ejSetVar procedure defines the current value of the JavaScript variable. All JavaScript variables are stored as strings. . ## Return Value None ## Example
    ejSetVar(eid, "name", "John
    Smith");
## See Also JavaScript, Active Server Pages, ejGetVar, ejEval