Problem with labels

BlitzMax Forums/BlitzMax Beginners Area/Problem with labels

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.

Sorry if this sounds rude, but this code is the worst example of spaghetti-code i've ever seen


I'm fairly new to programming (so it ain't going to be pretty), that's why I'm in the beginner forum. This example was to get myself into some functions, labels, and the like. It's a complete mess, but I learned a chunk from it.

I was wondering about going to and from a function with goto. I removed it and it works now, thanks.