Overview Module Function Class Tea 3.2.5 Reference Documentation
© 2009 PDM&FC

Function tea-shared-set!

tea-shared-set! key value

Modifies the value of a shared variable.

Parameters:
key - Symbol identifying the shared variable being modified.
value - The new value of the shared variable. It can be a symbol, a string, a boolean, a numeric object or the null object.
Returns:
The new value of the shared variable.

If there is no shared variable identified by the key symbol a runtime error will occur. The function tea-shared-define is used to create a shared variable. You can also check for the existence of a shared variable by calling tea-shared-defined?.

Overview Module Function Class Tea 3.2.5 Reference Documentation
© 2009 PDM&FC
Report a bug or request new features
© 2009