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
(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
> 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
> 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
> 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
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
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]
__
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 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