survival guide / primer

Developed or developing a new product in PureBasic? Tell the world about it.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

the other two mispellings is in the top of part 3 primer 1

anyway, great guide. I am almost finished reading primer 1, although i know much of it, its great to refresh it and learn something new.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

primer II is done, finally... pfew...

latest additions:

menus, include, enumeration, visual designer, winapi, structures and pointers

can i rest now? :-)
( 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... )
LarsG
Enthusiast
Enthusiast
Posts: 713
Joined: Mon Jun 02, 2003 1:06 pm
Location: Norway
Contact:

Post by LarsG »

blueznl wrote: can i rest now? :-)
NO! :twisted:

AMD Athlon XP2400, 512 MB RAM, Hercules 3D Prophet 9600 256MB RAM, WinXP
PIII 800MHz, 320 MB RAM, Nvidia Riva Tnt 2 Mach 64 (32MB), WinXP + Linux
17" iMac, 1.8 GHz G5, 512 MB DDR-RAM, 80 GB HD, 64 MB Geforce FX 5200, SuperDrive, OSX
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

LarsG wrote:
blueznl wrote: can i rest now? :-)
NO! :twisted:
:)
User avatar
einander
Enthusiast
Enthusiast
Posts: 744
Joined: Thu Jun 26, 2003 2:09 am
Location: Spain (Galicia)

Post by einander »

Thanx Bluez, great work! :D
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

wow! at least 3 (!) people are reading it, great!

:roll:

:wink:

last addition, added pointers in structs, two small errors removed...
( 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... )
zikitrake
Addict
Addict
Posts: 875
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Post by zikitrake »

Hey! I'm reading it too!!!!

Thank you
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

You shouldn't be counting how many people are reading it. You don't have time for that. Back to writing documentation!

:)

Neat. Thanks.
DeeCee
User
User
Posts: 34
Joined: Wed Dec 31, 2003 11:14 pm

Post by DeeCee »

Very nice, blueznl!

...thanks for the considerable effort. :)
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

..

Post by NoahPhense »

blueznl wrote:wow! at least 3 (!) people are reading it, great!

:roll:

:wink:

last addition, added pointers in structs, two small errors removed...
i like it.. keep it going..

- np
sec
Enthusiast
Enthusiast
Posts: 792
Joined: Sat Aug 09, 2003 3:13 am
Location: 90-61-92 // EU or ASIA
Contact:

Post by sec »

have some err:
-part1: s.l = a.l + Int( f.f ) ; f.f is converted to a float, then added to a.l

-part3: On the right side is the main code window, on the left side is a list of all procedures in your code. (right <-> left: as in picture)

-part3: Because the variables a and b INSIDE the procedure have nothing to do with the variables outside the procedure. They are local. You can create, change and destroy them at wish within the procedure as they are effectively different variables. Then, when we exit the procedure, the original a and b are restored to their old values. (wrong logic?)

keep good job!
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Re: survival guide / primer

Post by NoahPhense »

Why and how...

(For those who care...)

The smalles thing a computer can handle is a bit. A bit is a 1 or a 0. That's it.

Eight of those bits together form a 'byte'. A byte can store any number from 0 to 255. A computer's memory is made up from thousands or millions of those bytes. (1024 bytes is called a kilobyte, 1048576 bytes is called a megabyte.) All bits in a byte are numbered from 0 to 7.
blueznl:

I just wanted you to know that I'm really enjoying reading your
information. This kind of information will help a lot of people. There
are lots of programmers/developers out there that can code some
really serious sh!t, but don't know the first thing about memory and
the like.

So, thank you, for taking the time to help others learn. Including myself.

- np
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

i just hope it will save everybody some time, and as it isn't official pb documentation, people won't (or cannot even :-)) bother fred and his people about it, leaving them to work on the language itself...

(.. and to answer my own stupid questions :-))
( 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... )
sec
Enthusiast
Enthusiast
Posts: 792
Joined: Sat Aug 09, 2003 3:13 am
Location: 90-61-92 // EU or ASIA
Contact:

Post by sec »

hey blueznl: can i put link (survival guide : http://www.xs4all.nl/~bluez/datatalk/purebasic.htm) in my sig :D

wow 100posts soon 8O
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

you have a 100! now on towards the illuster 1000 :-)

yeah, 's fine if you want to, no prob, it's a public webpage after all
( 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... )
Post Reply