17.05.2015 Views

zl:1 - FTP

zl:1 - FTP

zl:1 - FTP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

load-byte 298<br />

I<br />

load-byte from-value position size Function<br />

This is like ldb' except that instead of using a byte specifier, the bit position<br />

and size are passed as separate arguments. The argument order is not<br />

analogous to that of ldb so that load-byte can be compatible with older<br />

"~l'sions of Lisp.<br />

For). table of related items: See the section "Summary of Byte Manipulation<br />

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

sys:local-declarations<br />

Variable<br />

sys:local-declarations is a list of local declarations. Each declaration is itself<br />

a list whose car is an atom which indicates the type of declaration.<br />

The meaning of the rest of the list depends on the type of declaration. For<br />

example, in the case of special and <strong>zl</strong>:unspecial the cdr of the list contains<br />

the symbols being declared.<br />

The compiler is interested only in special, <strong>zl</strong>:unspecial, macro, and arglist<br />

declarations.<br />

Local declarations are added to sys:local-declarations in two ways:<br />

• Inside a <strong>zl</strong>:local-declare, the specified declarations are bound onto<br />

the front.<br />

• If sys:undo-declarations-flag is t, some kinds of declarations in a file<br />

that is being compiled are consed onto the front of the list; they are<br />

not popped until sys:local-declarations is unbound at the end of the<br />

file.<br />

<strong>zl</strong>:local-declare declarations &body body Special Form<br />

<strong>zl</strong>:local-declare, while available in Release 6, should not be used for new<br />

code. See the section "Lexical Scoping" in Symbolics Common Lisp: Language<br />

Concepts.<br />

A <strong>zl</strong>:local-declare form looks like this:<br />

Example:<br />

(1 ocal-decl are (declaration declaration ... )<br />

forml<br />

form2<br />

... )<br />

(local-declare «special foo1 foo2))<br />

(defun 1 arry 0<br />

)<br />

(defun george ()<br />

)<br />

); end of local-declare

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

Saved successfully!

Ooh no, something went wrong!