>Hi,
>
>I need to use an array in a couple of methods of a class. I can declare it private and therefore the array will be in scope everywhere I need to. Or I can make this array to be a property of the class (custom class). Speed is not important to me (in this particular case). But I wonder what would VFP clean-up (destroy) better, a private array or array property?
>
>Thank you for any suggestions.
Dmitry,
It should be an array property of the class, if you need it as an array. Don't use private variables / arrays. Object properties is always a cleaner way when dealing with classes.
If it's not broken, fix it until it is.
My Blog