Re: Funny/Clever/Ironic Tag Lines for Euphoria?

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...

We might get it soon. I just created a branch to test this out. http://scm.openeuphoria.org/hg/euphoria/rev/587f8aedb552

For my first prediction, you will need to change include/wildcard.e

constant TO_LOWER = 'a' - 'A'  
 
global function lower(object x) 
-- convert atom or sequence to lower case 
    return x + (x >= 'A' and x <= 'Z') * TO_LOWER 
end function 
 
global function upper(object x) 
-- convert atom or sequence to upper case 
    return x - (x >= 'a' and x <= 'z') * TO_LOWER 
end function 

And the equivalent lines (for linux) in std\text.e

HTH,
Pete

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

Search



Quick Links

User menu

Not signed in.

Misc Menu