| ||
setq(
s_variableName
g_newValueExp
)
=>g_result
Description
sets a variable to a new value. setq is the same as the assignment(=) operator.
this is a syntax form. the symbol s_variableName is bound to the value of g_newValueExp.
the first argument to setq is not evaluated but the second one is.
将一个变量设置为新值。setq与赋值(=)运算符相同。
这是一个语法形式。符号s_variableName绑定到g_newValueExp的值上。
setq的第一个参数不会被求值,但第二个参数会。
Example
x=5 =>5
assigns the value 5 to the variable x
setq(x 5) =>5