Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: Read default array variable fault for object
Message
 
 
À
11/05/2003 11:46:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00787143
Message ID:
00787182
Vues:
20
>I report one old BUG ???/VFP6/7/8

>Code for Reproduce it:
>DIMENSION z[1]
>z[1]=_screen
>? z && before VFP8 uses VARTYPE(z)
>* then z is an object
>? z.name && ERROR: z is not an object
>? z[1].name && ok 


I believe that as long Z is an array, you must do reference to the array element. I think MS wuould say, It's not a bug, it's by design.
DIME laMultiType[2]

laMultiType[1]=_screen
?laMultiType

laMultiType[2]="Hello World"
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform