New topic: Pointer or Dinamic Allocation
<http://forums.realsoftware.com/viewtopic.php?t=24936> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message maverick-f14 Post subject: Pointer or Dinamic AllocationPosted: Thu Oct 23, 2008 5:45 pm Joined: Fri Oct 17, 2008 7:01 am Posts: 8 hi guys... i would know if can i alloc dinamically an array of object, or create an array of pointer at Object. in my source i've this class Contact() i would like to do something like this: Code: Dim ArrayP() as Ptr For... .... Array(index)=new Contact() .... Next but at compilation time (naturally) i've an error OR i would like alloc dinamically an array of Contact(). How could i do? Thanks for help 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 900 classes with 18000 functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v8.1. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> [email protected]
