realbasic-nug
[Top] [All Lists]

Re: Structures of Structures

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Structures of Structures
From: Charles Yeomans <charles@declareSub.com>
Date: Mon, 29 Dec 2008 12:09:12 -0500
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <D82C3F90-26A8-4C4B-8992-7953DBC93040@roadrunner.com>
References: <9E902F19-8551-4D14-9B71-8E7D9BC35C5F@mac.com> <D82C3F90-26A8-4C4B-8992-7953DBC93040@roadrunner.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

On Dec 29, 2008, at 11:40 AM, Richard wrote:

Is it possible to have a structure that contains an array of structures? If so, how do you declare this thing, and how do you refer to one element in the array of structures within the structure?

It is possible. Suppose you have a structure EventSpec. You can define a structure EventSpecList as follows.


Structure EventSpecList
eventSpec(9) as EventSpec

This should give you a structure containing an array of 10 EventSpec structures.

Charles Yeomans


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>