Static in a window method

I know that a variable declared with Static instead of Dim “retains its value from one invocation of the method to the next”, according to LR.
But what happens if I close the window where the method belongs?
When I reopen that window, will the Static variable value continue retained or will start from scratch?

Retained. It’s essentially a global variable but at local scope.