[Implemented] SELECT CASE

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

[Implemented] SELECT CASE

Post by BackupUser »

Restored from previous forum. Originally posted by Branston.

I think I may have seen this request elsewhere in this forum. I'd like to add my voice to it.

Could these variants be included in this useful command?

CASE > d ; relational
CASE d TO 99 ; range d to 99 inclusive
CASE 25, d ; two equality tests; equal to 25 or equal to d?
CASE 25 TO 99,14 ;combination of range and equality
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

See

Code: Select all

[url]http://forums.purebasic.com/english/viewtopic.php?t=1397[/url]
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Branston.

Thanks Danilo. I'll add my vote there! :)
Post Reply