David Hanley <[EMAIL PROTECTED]> writes:

> Sorry about the bad send.
>
> Perhaps this is the wrong place to ask, but what does
> the #. do in relation to declaring array sizes?

The #. does read-time evaluation (see CLHS), i.e. the expression
following the #. is read, and then evaluated at read-time, in order to
produce the expression that read returns.

e.g. (read-from-string  "(= #.(+ 1 2) 4)") will return (= 3 4).

It is needed in the context of the array type declarations because
declarations aren't evaluated, yet Fred Gilham wanted to use the
constants rather than plugging in the actual numbers.  Hence he needed
to use #. to cause the value of the constant being taken.

Regs, Pierre.

-- 
Pierre R. Mai <[EMAIL PROTECTED]>                    http://www.pmsf.de/pmai/
 The most likely way for the world to be destroyed, most experts agree,
 is by accident. That's where we come in; we're computer professionals.
 We cause accidents.                           -- Nathaniel Borenstein


Reply via email to