Q7

CLONE - switch command for ECL

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.3.11
  • Fix Version/s: 1.3.13
  • Component/s: ECL
  • Labels:
    None
  • Test Mode:
    Q7

Description

Similar to proc/let/val, the switch/case can be emulated by using extra "case" command, like this:

switch $foo
  [case 52 { 
        // do something
     }]
  [case "whatever" {
        // do something else
     }]
  -default {
     // optional default block
  }

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    16/Nov/15 12:31 PM
    Updated:
    16/Nov/15 12:31 PM