Spinning rod animation/Text: Difference between revisions

Content added Content deleted
(Added Algol 68)
(Added XPL0 example.)
Line 1,479: Line 1,479:
}
}
System.print("%(ESC)[?25h") // restore the cursor</lang>
System.print("%(ESC)[?25h") // restore the cursor</lang>

=={{header|XPL0}}==
<lang XPL0>char I, Rod;
[Rod:= "|/-\ ";
loop for I:= 0 to 3 do
[ChOut(0, Rod(I));
DelayUS(250_000);
ChOut(0, $08\BS\);
if KeyHit then quit;
];
]</lang>


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