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