Date: Tue, 29 Jun 1999 19:01:27 +0200
From: Damien Doligez <Damien.Doligez@inria.fr>
Message-Id: <199906291701.TAA19321@tobago.inria.fr>
To: caml-list@inria.fr
Subject: Re: Sys.argv with interpreter and compiler
>From: Markus Mottl <mottl@miss.wu-wien.ac.at>
>I just wondered, whether it is intentional behaviour that the array
>of command line arguments ("Sys.argv") is treated exactly the same way
>under the interpreter and within executables.
Do you mean native-compiled executables versus byte-code, or compiled
programs versus the toplevel system ?
If the former, it's a bug. If the latter, the toplevel was not really
designed for this use, and you can use Sys.interactive to tell which
case you are in.
-- Damien
This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:23 MET