Global arrays

BlitzPlus Forums/BlitzPlus Programming/Global arrays

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.

Prof's code should work. you must be doing something funny Gameboy. When you say the array is not recognised, do you mean by the compiler, or that it appears that way because when you access an array slot (to print for example) later, you are getting null values? A bugbear I have with the Blitz IDE is that it doesn't warn you if you type a variable name incorrectly and so many times I have wondered why my code doesn't work only to find a misplaced/missing letter. Also if you pass a string into a funciton and forget to stick $ on the end of it, it's treated as an integer and your output is always 0 (this isn't a compiler issue really, just me being dumb)