Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a class that emulates the SET command ?
Message
De
08/05/2001 13:18:41
 
 
À
08/05/2001 11:46:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00504523
Message ID:
00504844
Vues:
18
>>Some time ago, Ed Rauh was kind enough to provide me with some code for managing data sessions (which works beautifully, I might add). Thread# 316297, Message# 316405.
>
>Unfortunatley, thats not somethign you can just plug into your code and see how many sessions are avialable. The way I do it is like this:
>
>
on error lnDS = lnDS - 1
>lnDS = MAX_DATASESSIONS
>for x = 1 to MAX_DATASESSIONS
>	lcSetDS = "set datasession to " + str(x)
>	&lcSetDS
>endfor
>?lnDS
Mike, you are aware that this will be a piece of cake in VFP7 using the ASSESSIONS() function...
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform