Reverse a string: Difference between revisions
m
→{{header|RPL}}: no local variable
m (→{{header|Wren}}: Minor tidy) |
m (→{{header|RPL}}: no local variable) |
||
Line 3,963:
=={{header|RPL}}==
{{works with|Halcyon Calc|4.2.7}}
≪
OVER j DUP SUB +
-1 '''STEP''' SWAP DROP
≫ '<span style="color:blue">RVSTR</span>' STO
"ABC" <span style="color:blue">RVSTR</span>
{{out}}
<pre>1: "CBA"</pre>
|