Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] help
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Karl Zilles <zilles@1...>
Subject: Re: [Caml-list] help
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