Spinning rod animation/Text: Difference between revisions

Content deleted Content added
Petelomax (talk | contribs)
Line 241: Line 241:


END { print "\e[?25h\n" } # clean up on exit</lang>
END { print "\e[?25h\n" } # clean up on exit</lang>

=={{header|Phix}}==
<lang Phix>puts(1,"please_wait... ")
cursor(NO_CURSOR)
for i=1 to 10 do -- (approx 10 seconds)
for j=1 to 4 do
printf(1," \b%c\b",`|/-\`[j])
sleep(0.25)
end for
end for
puts(1," \ndone") -- clear rod, "done" on next line
</lang>


=={{header|Python}}==
=={{header|Python}}==