View Single Post
  #4  
Old 06-01-2006, 05:59 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by ApothiX
or if it's not destroying because it has sub-members (which I don't really see why it would affect it, but just incase)

you could always try:

PHP Code:
for(temp.roomnumhotel.room.getvarnames()) {
  
hotel.room.(@temp.roomnum).destroy();
}
hotel.room.destroy(); 
likewise for the other types of rooms.
I don't think this will make much difference though. If you aren't declaring it as a TStaticVar(), then that is why it's not working, but if you are, try this anyway :P
Hmm, I wasn't declaring it as such. Thanks both of you for help, first one helped more tho .

Still thanks
Reply With Quote