MathGroup Archive 2000

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

Search the Archive

User problem

  • To: mathgroup at
  • Subject: [mg23971] User problem
  • From: joseph <joseph468 at>
  • Date: Sun, 18 Jun 2000 03:00:53 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Can anyone help:
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)

Any assistance will be greatly appreciated.

Joseph468 at

Do You Yahoo!?
Send instant messages with Yahoo! Messenger.

  • Prev by Date: Re: I wish Descending Order Result
  • Next by Date: Re: is there really no efficient way to delete an element from a list??
  • Previous by thread: Re: Referencing Equations by Number
  • Next by thread: Re: User problem