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.

DarkBASIC Professional Discussion / Having trouble with types. Cannot compile program.

Author
Message
Kayl669
21
Years of Service
User Offline
Joined: 4th Jul 2005
Location: United States
Posted: 11th Jan 2012 11:44 Edited at: 11th Jan 2012 12:02
Having trouble compiling my program. I am using types instead of arrays now. I cannot see where I am going wrong and need a fresh pair of eyes, please.

The error I keep getting from BlueIDE is:
Kayl669
21
Years of Service
User Offline
Joined: 4th Jul 2005
Location: United States
Posted: 11th Jan 2012 12:06
Oops! I noticed what I had done. Sorry all. obj(x).n instead of obj.n(x). Man I cannot believe I missed THAT!

Again, I am sorry.
=PRoF=
23
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 11th Jan 2012 18:45
I remember having the same problem when I first started using UDT's

Login to post a reply

Server time is: 2026-07-10 10:20:23
Your offset time is: 2026-07-10 10:20:23