[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Custom patterns

> From: poeck@informatik.uni-wuerzburg.de (Karsten Poeck)
> Newsgroups: comp.lang.lisp.mcl
> Subject: Re: Custom patterns
> Followup-To: comp.lang.lisp.mcl
> Date: 19 Dec 1993 13:26:33 GMT
> Try
> (defparameter *my-pattern*
>         (make-record :pattern
>         :b0 238
>         ...
>         :b7 119))
> Karsten

I tried this, but I got the error

  > Error: :B0 is not a field of record :PATTERN
  >        Valid fields are: (:ARRAY)

Is the technique above supposed to work?  It seems reasonable to want to
supply the values of the fields when the record is created, rather than
calling %put-byte afterwards.  Does the documentation for the pattern record
on p. 715 imply that this is possible?


--Andrew Mickish