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 Discussion / Dark Basic Bug? Or just me?

Author
Message
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 23rd Aug 2005 17:04
This is weird.



Or maybe my DBC compiler is bugged?

Even if you input the right answer, you get a false message.
The problem is that when I display both answer and question, they match perfectly...

Immunity and Annihalation makes Immunihalation...
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 23rd Aug 2005 20:27
No bug.

Your function is adding a space on the end of the string it returns which is being printed, but you can't see it:

ret$ = ret$ + char$(a) + " "

Take the + " " of the end and it works fine.

TDK_Man

Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 24th Aug 2005 09:09
Indeed...

thx!

Immunity and Annihalation makes Immunihalation...

Login to post a reply

Server time is: 2025-05-22 13:27:58
Your offset time is: 2025-05-22 13:27:58