>I wnt back to the code after I changed the vetting from VARTYPE to TYPE and noticed my changes were incomplete.
>
>One of the vetts read: IF VARTYPE('SoAndSo')==[O]
>It should have read: IF TYPE('SoAndSo')==[O]
>
>I changed it and got a reprieve. I quite using VARTYPE with activex because vetting was inconsistent. I will problable rephrase all my object vetting from VARTYPE to TYPE.
>
>Other little issues (non OCX) I've had in VFP 8 have were local to a VARTYPE vette. Maybe the same justification for not using VARTYPE with OCX needs to be applied to other object vettes.
Are you saying there are known issues with using VARTYPE? I'm using it to verify passed parameters in several places. I'd hate to see it bite me...
Chris.
Précédent
Suivant
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