Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array gets lost
Message
From
16/10/2003 19:44:53
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Array gets lost
Miscellaneous
Thread ID:
00839576
Message ID:
00839576
Views:
59
Hi All,

I'm currently encountering a quirck in my code:
local array laFld[ 12 ]
laFld = ''
After the first line the array is nicely created:
LAFLD       Local  A  
        (   1)     L  .F.
        (   2)     L  .F.
        (   3)     L  .F.
        (   4)     L  .F.
        (   5)     L  .F.
        (   6)     L  .F.
        (   7)     L  .F.
        (   8)     L  .F.
        (   9)     L  .F.
        (  10)     L  .F.
        (  11)     L  .F.
        (  12)     L  .F.
After the second line the array is gone and replaced by a simple variable:
LAFLD       Local  C  ""
This finding is equal with other array names and other indexes (instead of 12).

It's in VFP7 SP1, W2K.

Is this happening to others too, occasionally?
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Next
Reply
Map
View

Click here to load this message in the networking platform