From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id BAA05254 for caml-redistribution; Fri, 9 Jul 1999 01:45:17 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA10430 for ; Thu, 8 Jul 1999 13:39:04 +0200 (MET DST) Received: from tobago.inria.fr (tobago.inria.fr [128.93.8.21]) by concorde.inria.fr (8.8.7/8.8.7) with ESMTP id NAA19571 for ; Thu, 8 Jul 1999 13:39:02 +0200 (MET DST) Received: (from doligez@localhost) by tobago.inria.fr (8.6.10/8.6.6) id NAA19734 for caml-list@inria.fr; Thu, 8 Jul 1999 13:39:02 +0200 Date: Thu, 8 Jul 1999 13:39:02 +0200 From: Damien Doligez Message-Id: <199907081139.NAA19734@tobago.inria.fr> To: caml-list@inria.fr Subject: Re: Sys.argv with interpreter and compiler Sender: weis >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 Obj). -- Damien