Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of gets in a screen
Message
De
16/11/1998 20:53:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Number of gets in a screen
Divers
Thread ID:
00158096
Message ID:
00158096
Vues:
67
I want to know the number of gets that I have in a screen. I tryed to use the objvar(). The help said that if you go passed the number of gets in the screen it should return empty. I tried this but when I got passed the number it gave me an error message. "11-Invalid function argument value, type or count." My code is this:

ln_cntr = 1
lc_var = OBJVAR(ln_cntr)
DO WHILE .NOT. EMPTY(lc_var)
ln_cntr = ln_cntr + 1
lc_var = OBJVAR(ln_cntr)
ENDDO

Is this a bug and if so is there a work around?
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform