Morse code: Difference between revisions
→{{header|EasyLang}}
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
|||
Line 1,457:
=={{header|EasyLang}}==
<syntaxhighlight lang="text">
txt$ = "sos sos"
#
chars$[] = strchars "abcdefghijklmnopqrstuvwxyz "
Line 1,463 ⟶ 1,464:
#
func morse ch$ . .
ind = 1
while ind <= len chars$[] and chars$[ind] <> ch$
ind += 1
.
if ind <= len chars$[]
write ch$ & " "
sleep 0.4
Line 1,481 ⟶ 1,483:
.
.
print ""▼
.
▲ print ""
.
for ch$ in strchars txt$
call morse ch$
.
=={{header|EchoLisp}}==
|