Spinning rod animation/Text: Difference between revisions

Added XPL0 example.
(Added Algol 68)
(Added XPL0 example.)
Line 1,479:
}
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}}==
772

edits