Spinning rod animation/Text: Difference between revisions

Content added Content deleted
m (→‎{{header|Wee Basic}}: Code will be added later.)
Line 395: Line 395:
=={{header|Wee Basic}}==
=={{header|Wee Basic}}==
Since the "|" character isn't built into Wee Basic on the Nintendo DS, and it looks the part in Wee Basic on the Nintendo DS, the character "l" is used as a substitute. Also, since no working delay command has been found yet, a for loop is used to work around this problem.
Since the "|" character isn't built into Wee Basic on the Nintendo DS, and it looks the part in Wee Basic on the Nintendo DS, the character "l" is used as a substitute. Also, since no working delay command has been found yet, a for loop is used to work around this problem.
<lang Wee Basic></lang>
<lang Wee Basic>let loop=1
sub delay:
for i=1 to 10000
next
cls 1
return
while loop=1
print 1 "l"
gosub delay:
print 1 "/"
gosub delay:
print 1 "-"
gosub delay:
print 1 "\"
gosub delay:
wend
end</lang>


=={{header|zkl}}==
=={{header|zkl}}==