RE: Re: User problem

• To: mathgroup at smc.vnet.net
• Subject: [mg24023] RE: [mg23997] Re: [mg23971] User problem
• From: hwolf at debis.com
• Date: Tue, 20 Jun 2000 03:07:37 -0400 (EDT)
• Sender: owner-wri-mathgroup at wolfram.com

```Notwithstanding the original code being illegal, 250 appears as a magic
number. Compare:

In[2]:= Table[i = i + 1, {i, 249}]

In[3]:= Table[i = i + 1, {i, 250}]

-- Hartmut

> -----Original Message-----
> From:	BobHanlon at aol.com [SMTP:BobHanlon at aol.com]
To: mathgroup at smc.vnet.net
> Sent:	Monday, June 19, 2000 7:46 AM
> To:	mathgroup at smc.vnet.net
> Subject:	[mg23997] Re: [mg23971] 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: User problem
• Next by Date: Re: Resources for high school student?
• Previous by thread: Re: User problem
• Next by thread: Re: User problem