Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Strange type problem o.O

Author
Message
Sephnroth
21
Years of Service
User Offline
Joined: 10th Oct 2002
Location: United Kingdom
Posted: 9th May 2003 20:54
yo, check this, heres my type:



I then global a variable for it like this:
Global Header As MapHead

and later I use that variable like this:



Now, that actually works fine and how it should, thats because its my changed code. Originaly, the type was called MapHeader.. and when i compiled that code it complained it couldnt find Author in type MapHeader! despite the fact it was right there.. and if i commented out the Header.Author = "Unknown" line then it skipped over the MapName assigning line fine and then complained it couldnt find players in type mapheader... the strangest thing is that if i simply rename the type (and dont change any of the other code) to MapHead instead of MapHeader.. it all works fine! is MapHeader reserved? just seems reallllly strange to me o.O

Login to post a reply

Server time is: 2024-09-20 07:42:58
Your offset time is: 2024-09-20 07:42:58