Version française
Home     About     Download     Resources     Contact us    
Browse thread
no error with ocamlc, a syntax error with ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Virgile Prevosto <virgile.prevosto@m...>
Subject: Re: [Caml-list] no error with ocamlc, a syntax error with ocaml
Hello,

Le ven 29 sep 2006 09:54:09 CEST,
Francois Colonna <colonna@ccr.jussieu.fr> a écrit :

> ocaml < tuvuw_from_data_error.ml

> print_string (" u  d1 d2 = ") ;
> print_int (u_from_data ( d1, d2 ) ) ;
> print_newline () ;
>  

The issue is here: in the interpreter, it is mandatory to close a
toplevel phrase with ';;', since ocaml rely on it to know when it has
to evaluate something. 

-- 
E tutto per oggi, a la prossima volta.
Virgile