I have a value that is calculated when the form loads. This value is required by all the routines in that module (Form1).
I can either store/retrieve the value in a global variable when form loads (i.e. make the variable public for the whole Form1 module), or use property let() and property get() add a new propery to Form1.
Question: Which way is better, global or propery let/get?
I can either store/retrieve the value in a global variable when form loads (i.e. make the variable public for the whole Form1 module), or use property let() and property get() add a new propery to Form1.
Question: Which way is better, global or propery let/get?