>Hello Everyone,
>
>The application I work with creates form objects and uses the Sys(2015) function to give them unique names. However what the application doesn't do it keep a note of the variable names of the objects, so when the form closes the variables are left visible and have a Null value.
>
>Are there any issue with memory in this scenario? Or are the variables not using any memory at all as they're null?
I am sure they use SOME memory, but probably not much. However, this will accumulate gradually, as you open and close more forms.
May I suggest the following alternative. Instead of using sys(2015) for form variables (how are you going to access them by that random names???), create an array of form objects. To create a new form, see if there is a null entry, before adding an element to the array.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)