Deluge Functions

Deluge Functions

Dear Zoho,

Would it be possible to add switch statements to deluge? I can think of tons of use cases for this.

switch ( expression ) {
   case   x :
    // code block
     break ;
   case   y :
    // code block
     break ;
   default :
     // code block
}

Also is it possible to get selected records in a list view in deluge instead of running a function on all records in the view?