Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array gets lost
Message
De
16/10/2003 19:44:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Array gets lost
Divers
Thread ID:
00839576
Message ID:
00839576
Vues:
60
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform