Hi WS
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