From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id BAA25057; Fri, 23 Apr 2004 01:58:35 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id BAA25043 for ; Fri, 23 Apr 2004 01:58:34 +0200 (MET DST) Received: from woodstock.1969.ws (64-215-156-42.eosinc.net [64.215.156.42]) by nez-perce.inria.fr (8.12.10/8.12.10) with SMTP id i3MNwWjq011343 for ; Fri, 23 Apr 2004 01:58:33 +0200 Received: (qmail 655 invoked from network); 22 Apr 2004 23:56:32 -0000 Received: from karl.1969.ws (HELO 1969.ws) (10.3.2.15) by woodstock.1969.ws with SMTP; 22 Apr 2004 23:56:32 -0000 Message-ID: <40885BF7.4000909@1969.ws> Date: Thu, 22 Apr 2004 16:57:43 -0700 From: Karl Zilles Organization: 1969 Communications, Inc. User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: mohammad siddiqui CC: skaller@users.sourceforge.net, rich@annexia.org, caml-list@inria.fr Subject: Re: [Caml-list] help References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 model:01 model:01 mutable:01 wrote:03 suspect:05 values:11 although:13 hello:15 really:15 don't:16 twice:18 value:21 unable:21 want:24 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk mohammad siddiqui wrote: > Hello, > I am unable to change the values for an example How can I change the > value od > model.supvec[i].words[i].wnum? If you make wnum "mutable", you can just say: model.supvec.(i).words.(i).wnum <- newvalue although I suspect you don't really want use "i" twice. ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners