Resume Next?

Mark Wieder mwieder at ahsoftware.net
Fri Mar 4 12:06:36 EST 2005


Frank-

Friday, March 4, 2005, 8:05:02 AM, you wrote:

FDEJ>      catch e
FDEJ>        if e  is not "123" and e is not "1234" then throw e
FDEJ>      end try

...and this looks like an obvious place to use (again, no time to test
right now - caveat coder)

  catch e
    switch e
      case 123
      case 1234
      -- room for more cases as needed
        break
      default
        throw e
    end switch
  end try

-- 
-Mark Wieder
 mwieder at ahsoftware.net



More information about the use-livecode mailing list