Re: Sys.argv with interpreter and compiler

From: Damien Doligez (
Date: Tue Jun 29 1999 - 19:01:27 MET DST

Date: Tue, 29 Jun 1999 19:01:27 +0200
From: Damien Doligez <>
Message-Id: <>
Subject: Re: Sys.argv with interpreter and compiler

>From: Markus Mottl <>

>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