Pointers

Blitz3D Forums/Blitz3D Userlibs/Pointers

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

And there are pointers to pointers and pointers that are pointing to pointers that are pointing to pointers and also the pointer sisters.

Never forget - in the beginning there where ONLY pointers. I remember I used them a lot to optimize speed. When I had to divide something by 16 in qbasic, I simply used "dpeek(varptr(a)+2)". well that was qbasic with physical 16 Bit Pointers and it didn't use the FPP, so this made sense.

In Blitz3D we have pseudo adresses to access Bank content. It still gives high flexibility.

Some people hacked some structures of BLitz lately, so you can use real 32 Bit pointers to banks and such, but this is real undocumented.

You see, you could give an external App or Dll the Pointer to a Blitz Bank, and all of a sudden the bank is full of nice bytes.