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.

Bug Reports / 7.4 - Compiler detects THEN statements inside variable names

Author
Message
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 2nd Nov 2009 15:17
This code does not compile:


This code does:


I believe the compiler is detecting the then in PathEnd, which is why it doesn't recognize the second part.

Tested in Codesurge and the normal IDE.

BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 14th Nov 2009 19:45
Bumpity-bop?

Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 15th Nov 2009 01:41
Same with U7.5b1 (?) using the new editor.
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 15th Nov 2009 12:16
It's a compiler issue so it'll happen with any editor.

MonoCoder
18
Years of Service
User Offline
Joined: 4th Dec 2005
Location: england
Posted: 13th Jun 2011 20:00
Sorry for the bump. Just want to add that the problem isn't limited to "then":



The "else" in the variable name messes this up (command not understood).

note: I'm using DBP 1.071, so I'm not sure if this has been fixed since, but I searched around and didn't find mention of this specific problem. Sorry if it is fixed :B
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 13th Jun 2011 23:31
Yes, it's the same in U77RC7.

So no, not fixed.

Login to post a reply

Server time is: 2024-04-26 11:55:40
Your offset time is: 2024-04-26 11:55:40