realbasic-nug
[Top] [All Lists]

Re: Size of Objects in Array

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Size of Objects in Array
From: "Joseph J. Strout" <joe at strout dot net>
Date: Tue, 31 Jan 2006 08:18:40 -0700
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <43DF7524 dot 8070609 at wxs dot nl>
At 3:33 PM +0100 1/31/06, Leo Van den Brande wrote:

I need to save an array of objects (windows) in a binary file.

Then you'll have to define what that means, make up a file format for storing whatever information that is, and then write code to read and write that format.

 I do not find a way to determine the size in bytes of each array element.

When you've defined your file format, then it should be pretty trivial to count the bytes.

Best,
- Joe

--

Joseph J. Strout
joe at strout dot net
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


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