Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

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?



  • Prev by Date: problem with ExpectedValue[xx-x, PoissonDistribution[m],x]
  • Next by Date: Re: Select from a list
  • Previous by thread: Re: ReadListBinary question
  • Next by thread: Select from a list