Structures in RunRev

xbury.cs at clearstream.com xbury.cs at clearstream.com
Mon Oct 3 09:58:48 EDT 2005


Hi David,

Hi David,

You dont need structures. You can use the arrays for that without any 
problem

struct contact[id] {
  name;
  age;
  height;
  weigth
}

is the same as

array[id,"name"]
array[id,"height']

and so on...

cheers
Xavier

use-revolution-bounces at lists.runrev.com wrote on 03/10/2005 15:51:20:

> Hi,
> 
> In my opinion, one thing that is missing from TranScript/RunRev is 
> the ability to define structures. It would be great to be able to 
> define a structure as so:
> 
> structure("FileInfoStruct(mFileName,mFileWidth,mFileHeight)")
> 
> then access it like:
> 
> global structure("FileInfoStruc(myFileInfo(empty,0,0))")
> 
> or
> 
> local structure("FileInfoStruc(myFileInfo(empty,0,0))")
> 
> ---------------------
> 
> put "xxxxxxx" into the mFileName of myFileInfo
> put 1024 into the mFileWidth of myFileInfo
> put 768 into the mFileHeight of myFileInfo
> 
> Any comments?
> 
> Thanks a lot
> Dave
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution



-----------------------------------------
Visit us at http://www.clearstream.com
                                                          
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.

END OF DISCLAIMER



More information about the use-livecode mailing list