3297Re: "ocaml_beginners":: Modules
- May 2, 2005On Mon, May 02, 2005 at 11:18:12PM +0200, Frederic GAVA wrote:
> > Include_struct "tree.ml"
> > or
> > Include_file "tree.ml"
> open Tree
> #load "file-name";;
> Load in memory a bytecode object file (.cmo file) produced by the batch compiler ocamlc.
> #use "file-name";;
> Read, compile and execute source phrases from the given file. This is textual inclusion: phrases are processed just as if they were typed on standard input. The reading of the file stops at the first error encountered.
But these commands are only working i the toplevel...
- << Previous post in topic Next post in topic >>