INCLAN: set

From CYANA Wiki
Jump to navigation Jump to search

Synopsis

set variable = value
variable : = value

Description

The statement "set" without parameters lists the names and values of all variables that do not have the value "NULL"; with parameters, "set" lists the names and values of the given variables. In contrast to "show", local variables are listed too.

"set variable = value" gives the variable variable the string value value.

Examples

set i=456
j := 2 + i	#Short form of set assigns a string value
k = 2 + i	#Short form of eval evaluates an expression
set i j k
i = 456
j = 2 + i
k = 458