MathGroup Archive 2000

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

Search the Archive

Re: User problem


In a message dated 6/18/2000 3:39:33 AM, joseph468 at yahoo.com writes:

>I am trying to contstruct a table of random integers
>between 1 and 4. I'd like to vary the number of
>elements in the table from time to time. The
>contruction that I use in Mathematica is as follows:
>
>genome = Table[i = Random[Integer, {1, 4}], {i, 249}]
>
>The problem with this is as follows: the above
>generates tables of varying length up to and including
>249 elements.  However, when I try to generate any
>table containing more than 249 elements, I get the
>following error message on my screen:
>
>This program has performed an illegal operation and
>will be shut down.  If the problem persists please
>contact the vendor.
>
>I have version 4 of Mathematica, and am running it on
>a Windows98 platform (Dell NoteBook)
>

genome = Table[Random[Integer, {1, 4}], {249}];


Bob Hanlon


  • Prev by Date: Re: Getting peak value from a Graph in Plot command - pls help
  • Next by Date: Re: Annoying "Hand"/"Glove" in Mathematica 4 for Linux
  • Previous by thread: User problem
  • Next by thread: RE: User problem