Static variables on Xojo

Hi
I have a memory from VB6 where you could use “static variables”. It’s a variable that will remember its value even after you exit the function/method.
And it’s not a global, it only lives inside his method.
Anything similar in Xojo ?
Thanks

[quote=324053:@Horacio Vilches]Hi
I have a memory from VB6 where you could use “static variables”. It’s a variable that will remember its value even after you exit the function/method.
And it’s not a global, it only lives inside his method.
Anything similar in Xojo ?
Thanks[/quote]
tes

STATIC VariableName as type

  • Karen

Whenever you have such question, search the LR first :
http://developer.xojo.com/static