object = new instance (wtf a bug ???)
BlitzMax Forums/BlitzMax Programming/object = new instance (wtf a bug ???)
| ||
Type mytype End Type Local instance1:mytype = New mytype Local instance2:mytype = New instance1 Why does this work ? And what could it be used for? |
| ||
http://www.blitzbasic.com/Community/posts.php?topic=61219#684098 |
| ||
...Cool... Now, I have to figure out how this can help me. All these words are quite puzzling! |
| ||
I still think it should go. An instances Type is set at compile time, and as such you might aswell just use the Type name. The only thing it does is lead to problems if you havent been tight with your nameing policy |