Pointer Types

BlitzMax Forums/BlitzMax Programming/Pointer Types

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.

Strings internally are stored as 4 bytes pointing at a larger memory structure. Same with objects, arrays, other stuff like that. This is why these things are passed ByRef instead of ByVal. Its because the actual value of the variable passed is a pointer.