Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error : Not an array
Message
De
04/07/2001 19:00:18
 
 
À
04/07/2001 16:49:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00526286
Message ID:
00526799
Vues:
23
>>It should be:
>>
>>local array myArray[1]
>>
>>or it could be:
>>local myArray
>>dimension myArray[1]
>>
>>>Try this:
>>>
>>>LOCAL MyArray(1)
>>>
>
>The ARRAY keyword is not necessary. LOCAL arrayname[1] works just fine.

The array keyword provides useful information to the compiler so that
local array myArray
myArray[1] = 1
generates a syntax error on compilation while
local myArray
myArray[1] = 1
generates an error at runtime.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform