Morse code: Difference between revisions

m (syntax highlighting fixup automation)
Line 1,457:
 
=={{header|EasyLang}}==
<syntaxhighlight lang="text">txt$ = "sos sos"
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$
.
.</syntaxhighlight>
 
=={{header|EchoLisp}}==
1,983

edits