Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: Brian Hurt <bhurt@s...>
Subject: Re: [Caml-list] help
On Fri, 23 Apr 2004, mohammad siddiqui wrote:

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

You can't "inline" data structures into other data structures.  The word 
array you made is actually, in C terms, a word * array.

"Usenet is like a herd of performing elephants with diarrhea -- massive,
difficult to redirect, awe-inspiring, entertaining, and a source of
mind-boggling amounts of excrement when you least expect it."
                                - Gene Spafford 

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: