PureBasic v4.00 - Beta 1

Developed or developing a new product in PureBasic? Tell the world about it.
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

Berikco wrote:and NOW the big task start for writing the DOCS
Fred can't wait to start writing :twisted:
AHAHAHAHAHAHAH !
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

geoff wrote:

Code: Select all

a.f=2
b.d=2
c.q=2
For i=1 To 62:a+a:b+b:c+c:Next i
a=a/3:b=b/3:c=c/3  
Debug(StrF(a,1))
Debug(StrD(b,1))
Debug(StrQ(c))
1537228718622113800.0
1537228672809129200.0
1537228672809129301

(answer is)
1537228672809129301 + 1/3


Brilliant.
Thanks to all who created the new version.
Even Geoff is happy with his extra precision!!! :shock: PB4 must be going in the right direction. (j/k) :wink:
--Kale

Image
jonljacobi
User
User
Posts: 67
Joined: Mon Jan 16, 2006 10:12 pm

Post by jonljacobi »

Looks very cool!

8)

Jon
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Post by Comtois »

with this code

Code: Select all

a.f=2
b.d=2
c.q=2
For i=1 To 62:a+a:b+b:c+c:Next i
a=a/3:b=b/3:c=c/3 
Debug(StrF(a,1))
Debug(StrD(b,1))
Debug(StrQ(c))
i get
3074457437244227600.0
3074457345618258400.0
-3074457345618258602
not
1537228718622113800.0
1537228672809129200.0
1537228672809129301
Please correct my english
http://purebasic.developpez.com/
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

Fred wrote: I don't think we will update the docs at all, the readme seems ok :P .
besides... who needs docs? real programmers figure it out themselves :-)

but if you're one of those not so much a real programmer here's a little tip... i've updated parts of the survival guide to support pb v4.00...


http://www.xs4all.nl/~bluez/datatalk/purebasic.htm


make sure you read it before asking dumb questions :-) better yet, ask dumb questions so i can tell you i don't know either :-)
Last edited by blueznl on Fri Feb 03, 2006 8:29 pm, edited 1 time in total.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

I got this result if i replace the 62 with 61.

BTW, the blueznl guide is a must read for v4.
Last edited by Fred on Fri Feb 03, 2006 8:30 pm, edited 1 time in total.
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Post by Comtois »

Fred wrote:I got this result if i replace the 62 with 61
ok me too :)
1537228718622113800.0
1537228672809129200.0
1537228672809129301
Please correct my english
http://purebasic.developpez.com/
Berikco
Administrator
Administrator
Posts: 1326
Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:

Post by Berikco »

this is the fastest growing thread ever 8)
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

lol :lol:
--Kale

Image
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

Kamasutra Virus Detected at this thread, please shut down your computer!
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Berikco wrote:this is the fastest growing thread ever 8)
Logical: PB4 is the fastest and powerfull PB ever :wink:
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

Not as fast as yo momma!

:shock:

jk
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

Num3 wrote:Kamasutra Virus
Is that the one that changes position in your computer after each infection? Or is it that one that gets your computer infected after its exited? ewww! :?
--Kale

Image
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Kale wrote:Is that the one that changes position in your computer after each infection? Or is it that one that gets your computer infected after its exited?
:lol:
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
MLK
User
User
Posts: 57
Joined: Sat Jan 24, 2004 8:46 pm
Location: Germany

Post by MLK »

PB 4.0 ... hmmm .. boring .. :roll:



:wink: Vive la France! :D
Post Reply