Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*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 2000

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

Search the Archive

Re: User problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23997] Re: [mg23971] User problem
  • From: BobHanlon at aol.com
  • Date: Mon, 19 Jun 2000 01:45:39 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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