At what point should I free an object? Lets say I
1) create a local object with the name of MYTEST in the main procedure.
2) I then free it with Freeobject().
3) I call another Procedure and create a local object with the same name.
If I am using the same name for an object throughout my code, but the object is local to each procedure, do I need to free it before I leave each procedure?
1) create a local object with the name of MYTEST in the main procedure.
2) I then free it with Freeobject().
3) I call another Procedure and create a local object with the same name.
If I am using the same name for an object throughout my code, but the object is local to each procedure, do I need to free it before I leave each procedure?