Compiling - Ignore un-instanced types?

BlitzMax Forums/BlitzMax Programming/Compiling - Ignore un-instanced types?

Is there a way to ignore un-instanced types at compile time? For example, I have some code that is instanciating a bunch of objects (Rooms) Each room contains properties (N,S,E,W) that are also Rooms. But the compiler stops because as I'm loading up the types it encounters fields which name objects that haven't been created yet.

How do you handle this?

Thanks

Mike

You can either comment out the lines or create dummy types, that's about it.

No, you have to at the very least have "Templated" the new object types.

(Or rem the fields I suppose)

Edit: Beaten to it by 14 seconds. ho um

Please morbius, put example code in a post.

Bye
Ramon

@paposo

put example code in a post

Why? It makes no difference. If he reffers to an type, that type has to be deffined. It doent need a code example

Sorry H&K i not understand

Morbius write:
I have some code that is instanciating a bunch of objects (Rooms) Each room contains properties (N,S,E,W) that are also Rooms. But the compiler stops because as I'm loading up the types it encounters fields which name objects that haven't been created yet.

I test a type like morbius explain and it compile perfect

Probabily the problem is my bad english

Bye
paposo