Re: New switch/case idea

new topic     » goto parent     » topic index » view thread      » older message » newer message

Let's see the first cascadeing section:

case "ASSIGN_OP_SUBS": 
case "PASSIGN_OP_SUBS": 
case "RHS_SUBS_CHECK": 
case "RHS_SUBS_I": 
   operation[i] = routine_id("opRHS_SUBS") 
            break 

I'd just add section to routine_name sequence with same names,
routine_id will just emite same numbers.

  ...    
"opRHS_SUBS", --ASSIGN_OP_SUBS  -- same routine_id for series of opnames 
"opRHS_SUBS", --PASSIGN_OP_SUBS 
"opRHS_SUBS", --RHS_SUBS_CHECK 
"opRHS_SUBS", --RHS_SUBS_I 
  ... 

Again curious ... Where am I wrong???


kinz

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu