On Wed, March 22, 2006 10:14 pm, Mark O'Neill wrote: > | Does that help ? > > Yes, in that it makes complete sense, no in that > I'm not sure I understand what you mean by > having an "object" to represent data
You can create your own custom class with properties to store your unique data. Each instance of this custom class is an object that holds data. If you have an array or dictionary or other structure of these, that's a data structure. For instance, you could have a class like this: styleRunClass: font as string textColor as color startChar as integer length as integer text as string A collection of these objects (in an array) could represent the contents of your WYSIWYG word processor. I'm writing a series on data structures for my beginning column in RBD so I've got this stuff on the brain. ;-) -- Marc Zeedar Publisher REALbasic Developer Magazine http://www.rbdeveloper.com _______________________________________________ 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>
