| Newsgroups |
gmane.lisp.corman |
| Message-ID |
<[email protected]> |
This is a newbie question, but I can't find an answer in my Lisp
text:
I have a two dimensional array (MAKE-ARRAY `(,row ,col)). Currently
I am writing binary data to this array a single byte at a time using
READ-BYTE from within two nested loops (row & column loops).
I now want to use READ-SEQUENCE to read a chunk of bytes into each
row, but I'm stumped as to how I can give READ-SEQUENCE a reference
to just the row of the array. This is easy to accomplish in C using
pointers, and I am sure it is just as easy in Lisp.
(READ-SEQUENCE (row-reference-here) in-stream 0 row)
In CLL, is READ-SEQUENCE implemented in a similar fashion to the C
function "fread" ?
Anyone help?
-Luke
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/FpY02D/vN2EAA/xGHJAA/SyjtlB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
[email protected]
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/