Switch..Case & Compiler Switch
Posted: Sat Feb 27, 2016 11:42 am
Hi,
May i propose 2 additionals features for next version of Hollywood.
First Switch..Case :
actually Switch..Case Work Like This:
In this example, in cases 1 & 2 y become 1
i propose this compiler interpretation :
Second:
--NoDebug switch to Hollywood compiler who will bypass all debugprint() keyword in the script at compile time.
Thanks.
May i propose 2 additionals features for next version of Hollywood.
First Switch..Case :
actually Switch..Case Work Like This:
Code: Select all
Switch x
Case 1:
y = 1
case 2:
y = 1
Case 3:
y = 2
endswitchi propose this compiler interpretation :
Code: Select all
Switch x
Case 1:
case 2:
y = 1
Case 3:
y = 2
endswitch--NoDebug switch to Hollywood compiler who will bypass all debugprint() keyword in the script at compile time.
Thanks.