realbasic-betas.mbox
[Top] [All Lists]

Re: Enhancement of switch case

To: REALbasic Betas <realbasic-betas at lists dot realsoftware dot com>
Subject: Re: Enhancement of switch case
From: Norman Palardy <palardyn at shaw dot ca>
Date: Fri, 27 Aug 2004 14:06:18 -0600
Cc: REALbasic Group <realbasic-nug at lists dot realsoftware dot com>
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <BD54E444 dot 9996%larsjensen at rcn dot com> <C54DC16C-F851-11D8-B2D5-000A95A9544A at shaw dot ca> <818E6A28-F862-11D8-B23F-000A95880024 at bitjuggler dot com>

On Aug 27, 2004, at 1:51 PM, Thomas Reed wrote:

On Aug 27, 2004, at 1:51 PM, Norman Palardy wrote:

On Aug 27, 2004, at 11:14 AM, Lars Jensen wrote:

Suggestion: Move this to the NUG, and read the docs...   :)

And you still cannot do what I want regardless of how hard you read the docs ... unless you create a function to evaluate a boolean and then you might as well write it as an if statement

This has been the most scattered discussion I've seen in a while -- what exactly is it that you want to do and can't? If it's a range, which is the only thing I've seen discussed, you *can* do it. Use "case x to y".

NO ... its how to specify the range ...

I would like a case like

        >= 5 and < 10

which is not anything in the select case repertoire

Nor is

        > 5 and < 10
or
        >= 5 and <= 10 and <> 8

I'd like to be able to use syntax more like I could with an IF

For now I just use IF as I can put more kinds of tests in it

I've already requested something like this under
http://www.realsoftware.com/feedback/viewreport.php?reportid=ijiykwur

It's really just a request to add to what SELECT CASE supports for determining which case matches

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>