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 / [DBP 7.5] Bug with returning an empty string

Author
Message
Syncaidius
19
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 20th Jul 2010 22:09 Edited at: 20th Jul 2010 22:11
I've had a strange problem recently with user functions that return an empty string directly.

Try this piece of code first and you'll find it crashes because the function directly returns a "" string:


Now try this, it works fine when returning a "" string variable instead:


I could just use the second method anyway, but I spent a whole day figuring out where i screwed up, to find out that I actually hadn't.

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 21st Jul 2010 08:18
It's been around for a while. Only seems to happen on Vista (and 7 I presume).
Syncaidius
19
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 22nd Jul 2010 13:50
Yeah, I'm running Win7 x64. I hope they get this bug fixed. I know it can easily be worked around, but still...

Login to post a reply

Server time is: 2024-04-20 13:28:49
Your offset time is: 2024-04-20 13:28:49