Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Arrays and undefined error
Message
De
10/09/2005 11:06:09
 
 
À
10/09/2005 09:53:08
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01047012
Message ID:
01048409
Vues:
19
>>>You need to trick the compiler. Sometimes it's enough to use these brackets: []
>>>
>>>but You will probably need the following section in the PRG that uses the array without defining it
>>>
>>>
>>>if .T. and .F.
>>>    define Results[39,2]
>>>endif
>>>
>>
>>Interesting workaround - but in this case, EXTERNAL ARRAY does seem simpler. And, I think it doesn't create an executable statement. (The IF will actually be evaluated, wasting a tiny fraction of a second.)
>
>Does the EXTERNAL ARRAY command not waste a tiny fraction of a second?

Sure, space and time.
Message #1047077
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform