Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining maximum number of workareas
Message
 
 
À
17/10/2002 16:11:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00711750
Message ID:
00712569
Vues:
8
>Hi Paul,
>
>Yes, I realized this in my testing on vfp6. Do you happen to know the limits in the various versions of foxpro? And do you happen to know when select(1) was introduced to the language? Do you know when aused() was introduced?
>
>Thanks.
>
>>
>>SELECT(1) returns the highest numbered unused workarea, which in VFP is a staggering 32767.
>>USE ... IN SELECT(1) will open a table in the highest unused workarea.
>>A following SELECT(1) returns 32766 because 32767 is in use.

If you have to support those versions, I am guessing you have thoses versions handy. Check the Help file. There should be a topic on VFP Limits/Limitations. The work area information should be there.

As for your other questions, I think AUsed() was introduced in 6 when many of the other A... functions were. I don't remember when SELECT(1) was introduced. Perhaps the Help file can be of assistance in this case as well.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform