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 / was the CASE function fixed?

Author
Message
pathfinder
21
Years of Service
User Offline
Joined: 5th Sep 2002
Location:
Posted: 20th Nov 2002 15:50
anyone know if the case function was fixed in the last patch?
Ratty Rat
21
Years of Service
User Offline
Joined: 24th Sep 2002
Location:
Posted: 20th Nov 2002 16:17
Yes and No, it does work with strings but still has some (rather odd) problems when used in functions and (I think) when used with arrays.
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 20th Nov 2002 16:18
Mostly, except :



doesn't work

Yes, I really am THAT good...
pathfinder
21
Years of Service
User Offline
Joined: 5th Sep 2002
Location:
Posted: 20th Nov 2002 16:28
lol better than nothing, thanks guys. Getting fed up with loads of if statements everywhere looks horrid

Ratty Rat
21
Years of Service
User Offline
Joined: 24th Sep 2002
Location:
Posted: 20th Nov 2002 16:54
Yep, in a function, like I said.
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 20th Nov 2002 18:21
Yes indeed - I was writing mine before you post, but unfortunatly it appeared after.

Yes, I really am THAT good...
jenkmeister
21
Years of Service
User Offline
Joined: 1st Nov 2002
Location:
Posted: 20th Nov 2002 23:38
The code above prints 1 in beta 1 of patch 3 - so if that's what you're expecting, then its working.

MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 21st Nov 2002 00:08
Good!

Yes, I really am THAT good...

Login to post a reply

Server time is: 2024-03-29 14:36:01
Your offset time is: 2024-03-29 14:36:01