Data update
This commit is contained in:
parent
0df55f9f24
commit
aec8ed51b6
1045 changed files with 18889 additions and 2777 deletions
|
|
@ -1,14 +1,11 @@
|
|||
txt$ = "sos sos"
|
||||
#
|
||||
chars$[] = strchars "abcdefghijklmnopqrstuvwxyz "
|
||||
chars$ = "abcdefghijklmnopqrstuvwxyz "
|
||||
code$[] = [ ".-" "-..." "-.-." "-.." "." "..-." "--." "...." ".." ".---" "-.-" ".-.." "--" "-." "---" ".--." "--.-" ".-." "..." "-" "..-" "...-" ".--" "-..-" "-.--" "--.." " " ]
|
||||
#
|
||||
proc morse ch$ . .
|
||||
ind = 1
|
||||
while ind <= len chars$[] and chars$[ind] <> ch$
|
||||
ind += 1
|
||||
.
|
||||
if ind <= len chars$[]
|
||||
ind = strpos chars$ ch$
|
||||
if ind > 0
|
||||
write ch$ & " "
|
||||
sleep 0.4
|
||||
for c$ in strchars code$[ind]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue