Globals and differences when in Types or not?

BlitzMax Forums/BlitzMax Beginners Area/Globals and differences when in Types or not?

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.

You could consider it a way to set up enumerations.

i.e.
Type BorderStyles
     Const None = 0
     Const Solid = 1
     Const Dashed = 2
End Type

You can then use BorderStyles.Solid later on in your program to reference the solid border style. By doing it this way, you can later extend your BorderStyles type to add more styles.

BTW:
Don't feel bad about only being let out on weekends. When I was a baby I was so ugly my parents had to tie a pork chop around my neck just to get the dog to play with me.

Ba Dump Bump!

-Jim