Sets the value of a variable.
Syntax: |
|---|
| DlxVariables.SetVar(name, value) |
Parameters
| Parameter | Description |
|---|---|
| name | Variable name. |
| value | Variable value. Specify a value belonging to one of the following types: Boolean, Number, String, DlxPoint, Array of DlxPoint, DlxSegment, DlxRect, DlxObject, DlxItem. |
Return Value
If the operation ends correctly it returns true otherwise it returns false.
Example
See the script Draw spiral.clxjs.
