Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug ? Successfully having C0000005 error
Message
From
24/12/2006 09:09:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
24/12/2006 08:46:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01180000
Message ID:
01180021
Views:
17
>>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform