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 / Has DBP broken in my absence?

Author
Message
Scraggle
Moderator
22
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 3rd Apr 2013 14:20
I've been away from DBP for a while but started to miss it's simplicity, so I came back to it but have become immediately disheartened by its failure!

These very few lines of code fail:


The error I get is "Declaration invalid at line: (this one: type tObj)"

My initial thought was that the compiler was seeing the keyword TO in tObj, so I changed it but the error is still the same no matter what I call it.

Any suggestions?
pcRaider
19
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 3rd Apr 2013 14:52
it's
Quote: " ID as int"




windowsXp
Scraggle
Moderator
22
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 3rd Apr 2013 14:55
So it is .... thanks

I'd forgotten how intensely unhelpful DBP's error reporting is!
Chris Tate
DBPro Master
17
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 3rd Apr 2013 18:25
best error message ever!

Dragon slayer
19
Years of Service
User Offline
Joined: 3rd Nov 2006
Location: Bourbonnais Illinois
Posted: 7th Apr 2013 02:55
I was playing around with c++ for a while and came back here and did the same thing. Got too used to

int hitpoints = 25

I still don't even know which language I want to hit hard. I like them both a lot but don't know enough of either

Login to post a reply

Server time is: 2026-07-07 00:32:25
Your offset time is: 2026-07-07 00:32:25