--- In [email protected], Yoyo <y...@...> wrote:
>
> Hello, my first post here.
> 
> How do you determine type of the variable. I mean is it "string",
> "integer", "vector" or "map"?

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.

Reply via email to