[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: Custom patterns
- To: info-mcl@ministry.cambridge.apple.com
- Subject: Fwd: Custom patterns
- From: Andrew Newell Mickish <am2q+@andrew.cmu.edu>
- Date: Mon, 3 Jan 1994 12:38:12 -0500
- Newsgroups: comp.lang.lisp.mcl
- Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA
- References: <Yh4qLCG00WB5A=J1BE@andrew.cmu.edu> <poeck-191293142841@i10mac11.ira.uka.de>
> 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?
Thanks,
--Andrew Mickish