Difference between revisions of "Setatom"

From OpenEUO
Jump to: navigation, search
 
Line 1: Line 1:
 
  setatom(str,val)
 
  setatom(str,val)
Sets a variable available to all executing scripts in the same OpenEUO instance.  Variable name is provided by the string str, and the value of the variable is set to val, which can be a number or a string.  Read access to the variable is provided by the getatom function.
+
Sets a variable available to all executing scripts in the same OpenEUO instance.  Variable name is provided by the string str, and the value of the variable is set to val, which can be a number or a string (or nil).  Read access to the variable is provided by the getatom function.
  
 
[[Cmpsetatom]]
 
[[Cmpsetatom]]

Latest revision as of 10:02, 8 October 2010

setatom(str,val)

Sets a variable available to all executing scripts in the same OpenEUO instance. Variable name is provided by the string str, and the value of the variable is set to val, which can be a number or a string (or nil). Read access to the variable is provided by the getatom function.

Cmpsetatom

Getatom

Listatoms