Re: Sys.argv with interpreter and compiler

From: Damien Doligez (
Date: Thu Jul 08 1999 - 13:39:02 MET DST

Date: Thu, 8 Jul 1999 13:39:02 +0200
From: Damien Doligez <>
Message-Id: <>
Subject: Re: Sys.argv with interpreter and compiler

>From: Jacques GARRIGUE <>

>Particularly, since there is no way to change the contents of
>Sys.argv, this means that you cannot easily use the Arg module in a
>caml script. Silly.

Sys.argv is an array, so it is mutable like all other arrays and you
can change its contents. What's harder to do is to change its length,
although you could do it with Obj.truncate (not recommended in
general, except for people who know what they're doing, as usual with

-- Damien

This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:23 MET