Re: Euphoria 2.5

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

> 
> Yes, those are the cases for which I see some benefit here.
> 
> 
>>>    if A_Very_Long_But_Meaningful_Identifier_Name[$] = '\n' then
>>>        A_Very_Long_But_Meaningful_Identifier_Name = 
>>>           A_Very_Long_But_Meaningful_Identifier_Name[ 1 .. $-1]
>>>    end if
> 
> 
> Nice, huh? 
> 

OE will support the following:

   if A_Very_Long_But_Meaningful_Identifier_Name[$] = '\n' then
         delete(A_Very_Long_But_Meaningful_Identifier_Name,$)
    end if

$ will be synonym for -1.
Any help welcome, read the OpenEU forum.

CChris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu