[futurebasic] Re: [FB] Re: [XFB] a curiosity with containers

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 2000 : Group Archive : Group : All Groups

From: "Peter Dempsey" <theviron@...>
Date: Fri, 22 Sep 2000 17:04:49 CDT
Never even knew about the ^ symbol being in fb3.  I Tried to respond earlier 
about how it brought up that error (with 6^6^6):
  Error: A Numeric or String value expected here...
  in file Temp Project at line 23 in Main Program
  *PRINT 6^6*^6
But my server crashed or something and I couldn't go anywhere (it was late 
anyway).  Anyway, I got the same thing with those two combinations (I got 
the 1.03144248e+28 with (6^6)^6).

	Seeing as nobody is explaining to my primitive self how to increase the 
maximum allowed number size... perhaps I should give it up... ::cough Robin 
cough::

-Peter Dempsey

>From: Heather Donahue <HeatherDonahue@...>
>Reply-To: futurebasic@...
>To: futurebasic@...
>Subject: Re: [FB] Re: [XFB] a curiosity with containers
>Date: Wed, 20 Sep 2000 21:46:59 -0700
>
>At 11:22 AM +1000 on 9/21/00, David Cottrell wrote:
>
>>I cant say anything about the accuracy of the result, but this
>>program in FBII prints a result
>>
>>WINDOW #1,"Output",(100,100)-(400,400)
>>PRINT 6^6^6
>>STOP
>>
>>It's output is something like 1.03*10^28
>>
>>Same program in FB^3 - gives INF.
>>
>>Not that big really...
>
>It makes a difference how it's formatted.
>
>I couldn't get your example to run properly as is.  If I left it:
>
>PRINT 6^6^6
>
>I got this:
>
>Error: A Numeric or String value expected here...
>in file Temp Project at line 23 in Main Program
>*PRINT 6^6*^6
>
>This version output the same answer as the FBII version:
>WINDOW #1,"Output",(100,100)-(400,400)
>PRINT (6^6)^6
>STOP
>
>This version output the answer INF:
>WINDOW #1,"Output",(100,100)-(400,400)
>PRINT 6^(6^6)
>STOP
>
>--
>Heather Donahue
>PGP Public Key at:
>http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=HeatherDonahue@...
>See X-PGP-fingerprint in headers.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.