Const 'ing a Type not possible?
BlitzMax Forums/BlitzMax Beginners Area/Const 'ing a Type not possible?
| ||
I tried this: Const TEST:MyTYPE=New MyTYPE I get errors that looks like: constant initialiser must be constant Im guessing ill have to make it global then :o |
| ||
If you made a CONST type, you would not be able to change any of its variables. What would be the point? You might as well just have Consts and Functions. |
| ||
If it was allowed, I guess the logical meaning would be to have the *reference* to be constant, not the actual object. So there would be a point. |