Reverse a string: Difference between revisions

Line 204:
Return RString
}</lang>
 
=={{header|Applesoft BASIC}}==
<lang ApplesoftBasic>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</lang>
 
=={{header|AutoIt}}==
Anonymous user