> I believe internally Powerpro variables are stored as strings. Sometimes > those strings are handles for more complex structures created by plugins, > such as the map or vec plugin. As a functional matter, what is in a variable > depends on what has been assigned to it. For example after the statement: > > var=vec.create(10) > > the variable "var" can be treated as vector. > > After using > > var="something else" > > var ceases to refer to the vector. But unless destroyed, the vector continues > to consume memory, even though you can no longer access it as var. So before > using var="something else" you should use vec.destroy(var) > > Hope that helps.
Well, but how to determine if particular variable was defined as vector? I mean, I try to write a function which will imitate PHP's printr_r() on vectors and maps, so I need to know if given parameter is map or vector (or something else)
