The objects are still "in scope", so it's very likely that Max is hanging onto the memory (of the variables) incase you were to create a new instance of it.
Trying the same trick from inside a function should result in a different answer.
Not sure about a Local variable declared inside a loop in the main program though...
Trying the same trick from inside a function should result in a different answer.
Not sure about a Local variable declared inside a loop in the main program though...