home download forum manual awards faq bugs links |
||||||
|
TemplatePower manual Arabic Deutsch Dutch English Italian Portuguese (Brazilian) Russian Spanish * Not fully translated yet.
|
assignAssign a value to a variable.Descriptionassign ( string [blockname.]variablename, mixed value )assign ( Array( [blockname.]variablename => value ) ) The default value of value is ''. See also: assignGlobal(), getVarValue(), and showUnAssigned(). Example 1.
Examples of the assign function
Variables and BlocksEach variable is a child of a parent block. Even in example 1, where no block is defined, the variable name has a parent block. The parent block of name is _ROOT, this is the default block if a variable has no user-defined parent-block.Variables can also be defined together with the parent-blockname, in the format of 'blockname.variablename'.
|
|||||
|
CopyRights © 2001-2009 Ron. P.J. Velzeboer. |