When a program is closed all things from that program are destroyed that are
not saved.
Even more, when you are busy and there is no reference anymore to something,
it will be normaly destroyed by the Garbage Collector.
Sub y
dim a as integer = 1
end sub
Is creating an integer with the value 1 from which will be told that it can
be deleted as soon as it is created. (To hold this you can use the keyword
"static", however that can be very confusing when used)
I hope this helps?
Cor
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.