Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Codebook Question
Message
De
29/06/1997 11:59:14
 
 
À
29/06/1997 11:20:01
Richard Danley
Tri-B Computer Systems
Hilliard, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00037639
Message ID:
00038050
Vues:
38
Richard,

You addressed Paul, but I wanted to respond too.

I agree with you that it *IS* inconsistent to report type "O" but ISNULL=.T. I can only guess that MS want to imply that an object cannot be "empty" other than NULL. Perhaps it has something to do with subsequent instructions which might try to reference the (not really existent) object???

Oh well, not the first time VFP shows inconsistencies

Jim N

>Paul,
>
>I agree that .NULL. can be a strange animal. But I also agree with Jim Nelson that Microsoft's view of .NULL. is correct. It's nonetheless inconvienent. What we need is a way of converting .NULL. to a value such blank or zero when this is appropriate (as in your SUM() example) . SET NULLDISPLAY and the NULLDISPLAY property are steps in the right direction, but these only affect the way .NULL. walues are displayed. This doesn't help in calculations.
>
>My original point about .NULL though. referred to the fact that an object reference can return a TYPE("oMyObject")="O" and at the same time ISNULL(oMyObject) = .T.. This seems inconsistent. If the object exists, shouldn't ISNULL(oMyObject)=.F.? If the object doesn't exist shouldn't TYPE("oMyObject")="U"?
>
>Richard Danley
>Tri-B Computer Systems
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform