View Single Post
  #1  
Old 07-13-2006, 07:50 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
getstringkeys problems

PHP Code:
function onCreated(){
  
this.foo.bar.test=true;
  
getstringkeys("this.foo");

getstringkeys returns nothing.. when it should return: bar.test

I realize this is for things like.. objects.. but this isnt being saved like an object, its beign saved like a flag named "foo.bar.test"
I can not make it an object (with TStaticVar()) because they are not saved in the objects flags.. and cant be saved using savevars() and I need to be able to save them (for backing them up)

What I am really trying to do is destroy them..

ie if I have a variable this.foo.bar.test="foo bar"; and this.foo.bar.anchor="hi"; i need to be able to destroy them as easy as (if they were objects) doing this.foo.bar.destroy()
Its weird.. its like its TRYING to treat it like an object.. but they arent.

What can I do?
Reply With Quote