This is a blog about Rebol, it's a fantastic free programming language, it permits easily to create complete software with few lines of code. It's cross-platform, so if you write it on Windows, it will work on Linux and Mac, and vice-versa. You can produce also wonderful GUI with just 3 lines of code!
Thursday, 30 May 2013
Morse code generator
In just one line Mr. Johan Roennblom created a morse code generator: foreach c ask{Message:} [l:index?find{ etinamsdrgukwohblzfcpövxäqüyj}c while[l >=2][prinpick{-.}odd? l l: l /2]prin" "]print""
No comments:
Post a Comment