Jump to content

Terminal control/Clear the screen: Difference between revisions

added ocaml
(added ocaml)
Line 102:
Delegating to clear on terminal enabled OS(Mac Os, Linux)
<lang Mathematica>Run["clear"];</lang>
 
=={{header|OCaml}}==
 
Using the library [http://forge.ocamlcore.org/projects/ansiterminal/ ANSITerminal]:
 
<lang ocaml>#load "unix.cma"
#directory "+ANSITerminal"
#load "ANSITerminal.cma"
open ANSITerminal
 
let () =
erase Screen</lang>
 
=={{header|Octave}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.