Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
11
Task/Reverse-a-string/Applesoft-BASIC/reverse-a-string.basic
Normal file
11
Task/Reverse-a-string/Applesoft-BASIC/reverse-a-string.basic
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
10 A$ = "THE FIVE BOXING WIZARDS JUMP QUICKLY"
|
||||
20 GOSUB 100REVERSE
|
||||
30 PRINT R$
|
||||
40 END
|
||||
|
||||
100 REMREVERSE A$
|
||||
110 R$ = ""
|
||||
120 FOR I = 1 TO LEN(A$)
|
||||
130 R$ = MID$(A$, I, 1) + R$
|
||||
140 NEXT I
|
||||
150 RETURN
|
||||
Loading…
Add table
Add a link
Reference in a new issue