01-01-2005, 08:45 PM
You can't have any other blocks inside TYPEs but nameless UNION's.
Enums are Integers, you can declare arguments and variables as enums and such, but they are not checked if you are really assigning/passing a constant that was part of the enum block -- so you are allowed to do like: myenum = X or Y
Enums are Integers, you can declare arguments and variables as enums and such, but they are not checked if you are really assigning/passing a constant that was part of the enum block -- so you are allowed to do like: myenum = X or Y
ew FreeBASIC forums: http://www.freebasic.net/forum/index.php