Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error : Not an array
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00526286
Message ID:
00526317
Vues:
23
It should be:

local array myArray[1]

or it could be:
local myArray
dimension myArray[1]

>Try this:
>
>LOCAL MyArray(1)
>
>>I have a command: lnresult=Adir(MyArray,"ABC*.*")
>>If I have Local MyArray declared, it comes up with an error..MyArray is not an array, but if I exclude this Local command, it works ok.
>>
>>How do I make My array Local ?
>>
>>Thanks in advance,
>>
>>Gerard
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform