survival guide / primer
primer II is done, finally... pfew...
latest additions:
menus, include, enumeration, visual designer, winapi, structures and pointers
can i rest now?
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... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
wow! at least 3 (!) people are reading it, great!
:roll:
last addition, added pointers in structs, two small errors removed...
:roll:

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... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
- NoahPhense
- Addict
- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
..
i like it.. keep it going..blueznl wrote:wow! at least 3 (!) people are reading it, great!
:roll:
![]()
last addition, added pointers in structs, two small errors removed...
- np
-
- Enthusiast
- Posts: 792
- Joined: Sat Aug 09, 2003 3:13 am
- Location: 90-61-92 // EU or ASIA
- Contact:
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!
-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!
- NoahPhense
- Addict
- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
Re: survival guide / primer
blueznl: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.
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
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
)

(.. 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... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
-
- Enthusiast
- Posts: 792
- Joined: Sat Aug 09, 2003 3:13 am
- Location: 90-61-92 // EU or ASIA
- Contact:
hey blueznl: can i put link (survival guide : http://www.xs4all.nl/~bluez/datatalk/purebasic.htm) in my sig
wow 100posts soon 8O

wow 100posts soon 8O
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

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... )
( The path to enlightenment and the PureBasic Survival Guide right here... )