Delete an instance of a Structure (destructor)
Hi,
The documentation doesn't mention how an instance of a structure is managed once it's created. Is there a destructor like in C++ ? In other words, can we release the memory used by this instance ?
I would say yes if you affect the value undefined to the instance but I'm not sure.
Also, if you create an instance twice (same name of the instance), the memory of the fisrt instance will be released or not ?
Comments
...
I think using "undefined" is the answer for all your questions
bga
***
Ok, so the code below is correct ?
Rodman
...
Yup. But don't use word "instance" as variable
bga
Okay thanks Branko ! Yes the
Okay thanks Branko !
Yes the example is just to explain the problem.
Rodman