General information
Category:
Coding, syntax & commands
>>How do I set a 'static' variable in VF, just as I do it in C/C++?Originally the lift time of local variable is only within that procedure or function, how can I get it back as I come in afterwards?
>
>It looks like you need a workaround:
>- store the value in a global variable
>- store the value in a table
I don't suggest this is anything but a kludge and is really no different than what you suggest, Evan. One method would be to have the app declare the variable as global, have the routine increment or set the value however it does and save the variable to a memory file, memo field or table (as you suggest) when the app closes. This assumes that the value needs to be obtained the next time the app runs, if not, a global variable without any file storage is the way to go.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only