Spinning rod animation/Text: Difference between revisions
→OCaml: add
(→{{header|Ruby}}: Changed charset to Raku's) |
(→OCaml: add) |
||
Line 1,139:
100 NEXT
110 GOTO 60</syntaxhighlight>
=={{header|OCaml}}==
<syntaxhighlight lang="ocaml">let rec sym = '-' :: '\\' :: '|' :: '/' :: sym
let () = List.iter (fun c -> Printf.printf "%c%!\b" c; Unix.sleepf 0.25) sym</syntaxhighlight>
=={{header|Perl}}==
|