Re: ReadListBinary question

*To*: mathgroup at smc.vnet.net*Subject*: [mg49868] Re: ReadListBinary question*From*: mjperson at mit.edu (Michael J Person)*Date*: Thu, 5 Aug 2004 09:20:28 -0400 (EDT)*Organization*: Massachvsetts Institvte of Technology*References*: <cequ9f$k24$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

I've had this problem myself just recently. I've not really figured out why it's happening, but in my code at least, if you wrap an Execute around the nval, things seem to work. Try ReadListBinary[stream,type,Execute[nval]] -MJ Person mjperson at mit.edu greenberg at ucdavis.edu Wrote: > Is there any reason why ReadListBinary[stream,type,n] doesn't let me > use a variable for "n" (e.g. If I set nval=5, and > ReadListBinary[stream,type,nval] -- it won't work)? Are there any > workarounds for this?