Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of gets in a screen
Message
From
16/11/1998 20:53:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Number of gets in a screen
Miscellaneous
Thread ID:
00158096
Message ID:
00158096
Views:
65
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
Next
Reply
Map
View

Click here to load this message in the networking platform