What's Gonna Be My Penalty...

Blitz3D Forums/Blitz3D Programming/What's Gonna Be My Penalty...

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.

I have to add that (though it may seem obvious) when I changed from globals to types a lot of my programming problems went away.

It's just good housekeeping, and in effect Blitz is acting as a spellchecker.

So instead of
Global CamX,CamY,CamZ

Use
TYPE Cam
FIELD x,y,z
END TYPE

Then you have variables Cam\x, Cam\y, Cam\z.