RE: is prime

2004-12-12 Thread MisterX
inal Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Raymond Griffith > Sent: Sunday, December 12, 2004 14:13 > To: [EMAIL PROTECTED] > Subject: Re: is prime > > (Trying this for the third time!) > > > Simon said (gut pun!) > &g

Re: is prime

2004-12-12 Thread Raymond Griffith
(Trying this for the third time!) > Simon said (gut pun!) > >> Is there a function or command to tell me if a selected line >> of a fld is a prime number? For example, a user selects line >> 3 of a fld, I'd like a true or false result to appear in the >> mes

Re: is prime

2004-12-12 Thread Raymond E. Griffith
> Simon said (gut pun!) > >> Is there a function or command to tell me if a selected line >> of a fld is a prime number? For example, a user selects line >> 3 of a fld, I'd like a true or false result to appear in the >> message box if that number is prime

Re: is prime

2004-12-12 Thread Raymond E. Griffith
> Simon said (gut pun!) > >> Is there a function or command to tell me if a selected line >> of a fld is a prime number? For example, a user selects line >> 3 of a fld, I'd like a true or false result to appear in the >> message box if that number is prime

Re: is prime

2004-12-12 Thread Raymond E. Griffith
> Simon said (gut pun!) > >> Is there a function or command to tell me if a selected line >> of a fld is a prime number? For example, a user selects line >> 3 of a fld, I'd like a true or false result to appear in the >> message box if that number is prime

RE: is prime

2004-12-09 Thread MisterX
r 09, 2004 16:19 > To: Discussions on Metacard > Subject: Re: is prime > > On Dec 8, 2004, at 10:39 AM, MisterX wrote: > > > put (x div 2) into xfactors > > I haven't read through the rest carefully, but shouldn't this > be trunc(sqrt(x))? You don't ne

Re: is prime

2004-12-09 Thread Geoff Canyon
On Dec 8, 2004, at 10:39 AM, MisterX wrote: put (x div 2) into xfactors I haven't read through the rest carefully, but shouldn't this be trunc(sqrt(x))? You don't need to check for factors beyond the square root. regards, Geoff Canyon [EMAIL PROTECTED] __

RE: is prime

2004-12-08 Thread MisterX
Simon said (gut pun!) > Is there a function or command to tell me if a selected line > of a fld is a prime number? For example, a user selects line > 3 of a fld, I'd like a true or false result to appear in the > message box if that number is prime or not. Or do I need to

is prime

2004-12-08 Thread Simon Lord
Is there a function or command to tell me if a selected line of a fld is a prime number? For example, a user selects line 3 of a fld, I'd like a true or false result to appear in the message box if that number is prime or not. Or do I need to write a little function myself as no such fe