Hello I've got a little question,
I found an example, and I didn't know exactly what they mean by the two points?
example:
lparameters tnMenu local lnI, lcMenu
lnI = 1 lcMenu = "oMenu" + allt(str(lnI))
do while .t.
if type(lcMenu) <> "O" or isnull(&lcMenu)
exit
else
if &lcMenu..cModuleID = curMenu.cRunMenu
&lcMenu..show && <= The two points here, what
return && do they mean?
endif
lnI = lnI + 1
lcMenu = "oMenu" + allt(str(lnI))
endif
enddo
tnMenu = lnI
return lcMenu
What does it mean, and what can you do with it?
Thanks Charl [sig][/sig]
I found an example, and I didn't know exactly what they mean by the two points?
example:
lparameters tnMenu local lnI, lcMenu
lnI = 1 lcMenu = "oMenu" + allt(str(lnI))
do while .t.
if type(lcMenu) <> "O" or isnull(&lcMenu)
exit
else
if &lcMenu..cModuleID = curMenu.cRunMenu
&lcMenu..show && <= The two points here, what
return && do they mean?
endif
lnI = lnI + 1
lcMenu = "oMenu" + allt(str(lnI))
endif
enddo
tnMenu = lnI
return lcMenu
What does it mean, and what can you do with it?
Thanks Charl [sig][/sig]