Yohn
Member
Hy.
I have button name button3 and on choose of this button it must display a Message displaying Yohn ten times. I try it to do with FOR EACH block, but error cums.
code sample:
DEFINE VARIABLE iBrojac AS INTEGER NO-UNDO.
DEFINE VARIABLE cIme AS CHARACTER NO-UNDO.
ON CHOOSE OF Button3
DO:
FOR EACH iBrojac = 1 TO 10:
cIme = cIme + "Ivan" + STRING(iBrojac).
END.
END.
thx.
I have button name button3 and on choose of this button it must display a Message displaying Yohn ten times. I try it to do with FOR EACH block, but error cums.
code sample:
DEFINE VARIABLE iBrojac AS INTEGER NO-UNDO.
DEFINE VARIABLE cIme AS CHARACTER NO-UNDO.
ON CHOOSE OF Button3
DO:
FOR EACH iBrojac = 1 TO 10:
cIme = cIme + "Ivan" + STRING(iBrojac).
END.
END.
thx.