>Depending on what you want. Thisform.AddProperty("oProp", "Empty") will be a string. Thisform.AddProperty("oProp", createobject("Empty")) will be an Empty object - a live object at that, which can be assigned properties, i.e. a full object of class Empty (sounds like a paradox, I know).
>
>If you initialize it as a .null, I really don't know what type will it be - and VFP probably doesn't know either. I initialize a property to .null. if I plan to make it an object reference later, just as a matter of style, the .null. being some sort of intuitive value for "no object", just like "" means "no string".
Well, we know that we want to initialize it with the SCATTER NAME command, which creates an object. So, I assumed we may want to initialize it with NULL <g>, which is different from default .f.
If it's not broken, fix it until it is.
My Blog