> Am 17.09.2010 11:59, schrieb Benoît Minisini: > >> But if you really want to get rid of something useless, why not change > >> SELECT CASE into SELECT? I don't know the history of this keyword, but > >> it smells like it was planned to allow for further combinations. > >> However, nobody ever implemented them, and it stayed as it was. If we > >> don't revive the old idea, why not allowing the programmer to write it > >> like SWITCH? You could make it an option: > >> > >> SELECT myExpression > >> CASE 0 > >> CASE 1 > >> CASE 2,3 > >> CASE ELSE > >> END SELECT > >> > >> Regards > >> > >> Rolf > > > > Did you try it? > > No, I never have... (getting red) > > But, do you happen to know why it was originally implemented like this? > I have known it for ages like SELECT CASE and always have wondered why... > > Regards > > Rolf >
No idea. Maybe to look like real english? -- Benoît Minisini ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
