[Xerte] LoadVars

Tenney Julian Julian.Tenney at nottingham.ac.uk
Fri Aug 31 08:42:40 BST 2007


 

	 > There must be a way to get a list of all properties of an
object, but I haven't found the function that does this. Is there such a
function, or snippet of code, that will return a list of all the
property names? How about a count of the number of properties, is there
a function for that? 
	 
	loadVars objects have a toString() method. Take a look at that,
and then split into an array, which you can loop over to find the names
and values of the properties.
	 
	 
	 
	 
	 
	 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20070831/fa0c906b/attachment.html


More information about the Xerte mailing list