Re: Code Golf

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

If you supply a character to the question mark operator it doesn't put a new line:

I don't think it works like you say. Here's what I get when I run your version:

$ exu encode.ex EncodeMe "e,f|M,N|c,d|n,m|E,F|o,p|d,e" 
70 
109 
100 
112 
101 
102 
78 
102 

Here's what I get from the original version:

$ exu encode.ex EncodeMe "e,f|M,N|c,d|n,m|E,F|o,p|d,e" 
FmdpefNf 
Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu