Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [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: mohammad siddiqui <writetosafi@h...>
Subject: Re: [Caml-list] help
I already made it mutable. words is an array of structure  called "word". If 
I try to change the value as you told it changes tha values of all the 
elements of array "words". Thanks for your help in advance.

Mohammad S Siddiqui.


>From: Karl Zilles <zilles@1969.ws>
>To: mohammad siddiqui <writetosafi@hotmail.com>
>CC: skaller@users.sourceforge.net,  rich@annexia.org,  caml-list@inria.fr
>Subject: Re: [Caml-list] help
>Date: Thu, 22 Apr 2004 16:57:43 -0700
>
>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.

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

-------------------
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