New topic: 

Arrays of objects..

<http://forums.realsoftware.com/viewtopic.php?t=29254>

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       JustSomeGuy           Post subject: Arrays of objects..Posted: 
Mon Jul 27, 2009 3:47 pm                               
Joined: Fri May 11, 2007 11:35 am
Posts: 413              I have and array of objects.
 
Code:dim myArray(-1) as Object
dim instance as new myObject
myArray.Append instance


The above code works to populate an array but I'm having trouble removing an 
object at a later date.

Code:dim ob as myObject
dim i as integer
dim ob as myObject
for i=0 to ubound(receive)
  ob = receive.pop()
  MsgBox("Received " + str(ob))
next i


That code won't compile...     
_________________
A picture paints a thousand words.
A thought paints a thousand pictures.  
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to