17.05.2015 Views

zl:1 - FTP

zl:1 - FTP

zl:1 - FTP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

479 <strong>zl</strong> :set-in-instance<br />

<strong>zl</strong>:set-in-instance instance symbol value Function<br />

Alters the value of an instance variable inside a particular instance, regardless<br />

of whether the instance variable was declared a<br />

:writable-instance-variable or a :settable-instance-variable. instance is<br />

the instance to be altered, symbol is the instance variable whose value<br />

should be set, and value is the new value. If there is no such instance<br />

variable, an error is signalled.<br />

In Symbolics Common Lisp, this operation is performed by:<br />

(setf (scl :symbol-value-in-instance instance symbol) value)<br />

<strong>zl</strong>:setplist symbol list Function<br />

Sets the list that represents the property list of symbol to list. Use<br />

<strong>zl</strong>:setplist with extreme caution, since property lists sometimes contain internal<br />

system properties, which are used by many useful system functions.<br />

Also, it is inadvisable to have the property lists of two different symbols be<br />

eq, since the shared list structure causes unexpected effects on one symbol<br />

if <strong>zl</strong>:putprop or <strong>zl</strong>:remprop is done to the other.<br />

dbg:set-proceed-types condition new-proceed-types Generic Function<br />

Sets the list of valid proceed types for this condition to new-proceed-types.<br />

The compatible message for dbg:set-proceed-types is:<br />

:set-proceed-types<br />

For a table of related items: See the section "Basic Condition Methods and<br />

Init Options" in Symbolics Common Lisp: Language Concepts.<br />

I<br />

setq {variable value}... Special Form<br />

Used to set the value of one or more variables. The first value is<br />

evaluated, and the first variable is set to the result. Then the second value<br />

is evaluated, the second variable is set to the result, and so on for all the<br />

variable/value pairs. setq returns the last value, that is, the result of the<br />

evaluation of its last subform. Example:<br />

(setq x (+ 3 2 1) Y (cons x nil))<br />

x is set to 6, y is set to (6), and the setq form returns (6). Note that the<br />

first variable was set before the second value form was evaluated, allowing<br />

that form to use the new value of x.<br />

<strong>zl</strong>:setq-globally &rest vars-and-vals Special Form<br />

<strong>zl</strong>:setq-globally has been superseded by symbol-value-globally. You use<br />

setf with symbol-value-globally to set global values in your init file.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!