>>On the other hand, I see disadvantages to VFP being just shy of full oop. For example cursors. You can't natively pass a cursor from one method to another, or one datasession to another which makes it difficult to create clean, elegant object systems in VFP.
>>
>>(IOW, I like VFP's cursors, but not as much as I'd like OOP cursors!)
>
>I routinely pass cursors around using aliases. To me, the alias is not much different than an object reference. Of course, like you said, the cursor doesn't cross datasessions or COM, but I think it is ok to pass them around without conversions when possible.
Me too, or I'll pass an object that represents an alias. In either case the emphasis in my post should have been on "which makes it difficult to create clean, elegant object systems."
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement