View Single Post
  #5  
Old 06-22-2006, 09:42 PM
JustBreathe JustBreathe is offline
Registered User
Join Date: Jun 2006
Posts: 59
JustBreathe is on a distinguished road
Quote:
Originally Posted by ApothiX
Ah, that's not how you're supposed to do it anyway.

this.vars = { "varname=foo", "varname2=bar" };
this.obj.loadvarsfromarray(this.vars);

this.obj.varname now has the value of 'foo' and this.obj.varname2 now has the value of 'bar'
If you read my example, I am reading from 'strings', not this.vars. I thought you were inquireing about the contents of this.vars. The string was saved using savevarstoarray( false ) , and therefore, syntax error shouldn't be a problem.
Reply With Quote