Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug ? Successfully having C0000005 error
Message
De
24/12/2006 09:09:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/12/2006 08:46:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01180000
Message ID:
01180021
Vues:
18
>>But shouldnt the first element be returned without []
>
>I don't think so... when you reference just the array name you are referring to the WHOLE array.

Actually, that depends on the context.

acopy() - uses the whole array

MyArray = SomeValue - sets all elements

? MyArray - prints the first element (this is probably what Suhas was thinking about)

MyObjectArray.SomeProperty - the situation that gave Suhas trouble: I guess this situation was simply not foreseen by the VFPT.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform