Re: Anxiety over 4.0

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

Bernie Ryan wrote:
> 
> 
> Jeremy
>    A identifier can contain any caracter a-z or A-Z or _ ( underscore ) or 
>    
>    0123456789.
>    Any other character is illegal in an identifier therefore you could
>    use any other single character in your reserved name word.
> 
>    Example: continue@  
> 
> 

That seems to change Euphoria syntax drastically. No other keyword has to do
that, why should new ones?

global constant NAME="John Doe"
global enum@ ERR_A, ERR_B, ERR_C

while 1 do    
    switch@ abc do
        case@ 10:
             break@
        case@ else:
             continue@
    end while

entry@

    if a = 10 then
        exit
    else
        continue@
    end if
end while


That looks like quite the mess.

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu