>Has anybody seen a difference in mem usuage between a public array versus a form array.
>
>The issue is that we have some arrays created in a form on NT WrkStn 4 and sometimes depending on the amount of applications the user has open arrays get destroyed...We get a FoxPro msg saying myarray.prg doesn't exist although myarray was declared public on the form.
>
Using a member property avoids any possible side-effects normally found with a PUBLIC anything - the odds are that you're issuing a PRIVATE statement using a wildcard that hides the array, or are deallocating the array using RELEASE in an unexpected location. With member property arrays, the reference is scoped to the object (in your case, a Form) and won't suffer side-effects found with PUBLIC/PRIVATE memvars.