General information
Category:
Coding, syntax & commands
Yes, Jim, but when else, in VFP or anywhere else, does a comparison have to refer to the exact same entity to report an equal test as true??? For instance, in the test
? a = b
. . . we never expect that "a" and "b" have to be the SAME entity, and in fact we have no real way in VFP to give any memvar an "alias" so that we could do so.
Ceertainly none that I can think of.
John says (too politely, in my opinion) that this "makes sense" but in reality it only makes sense once the special rules and considerations relative to object comaprisons are known. In fact I'm not so sure that they are fully known, so much as assumed/guessed-at!
My opinion is that we would have been better off if VFP had used a different operation (or even a function) for this to avoid the confusion that invariably must follow this "creation".
Just another opinion,
Jim N
>>Hmmm. What you're saying makes sense but it's still blowing me away as the objects created by the SCATTER NAME command are identical in every respect.
>
>Except for one major point, they are not the same object. Try this;
>
>Object1.Name = "FOOBAR"
>?Object2.Name && Displays the original name value
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only