Hi!
I use this code to display menu from programm:
[Set filter to profil="AGENT"
Set order to xsitem
Go top
j=1,i=1,m=space(6)
Do while !eof( )
If item =space (6)
k=str(j)
Define PAD &k OF _MSYSMENU PROMPT tree.nom
On PAD &k OF _MSYSMENU ACTIVATE POPUP tree.nom
Define POPUP &tree.nom MARGIN RELATIVE COLOR SCHEME 4
m=tree.sitem
j=j+1
Endif
If tree.nom=m
h=str(i)
Define BAR &h OF &k PROMPT tree.nom
Endif
i=i+1
Skip
Enddo]
I'd like to display the contents of the variable j and i, but i have any error tell me "syntax error".
can some one help me please?
I use this code to display menu from programm:
[Set filter to profil="AGENT"
Set order to xsitem
Go top
j=1,i=1,m=space(6)
Do while !eof( )
If item =space (6)
k=str(j)
Define PAD &k OF _MSYSMENU PROMPT tree.nom
On PAD &k OF _MSYSMENU ACTIVATE POPUP tree.nom
Define POPUP &tree.nom MARGIN RELATIVE COLOR SCHEME 4
m=tree.sitem
j=j+1
Endif
If tree.nom=m
h=str(i)
Define BAR &h OF &k PROMPT tree.nom
Endif
i=i+1
Skip
Enddo]
I'd like to display the contents of the variable j and i, but i have any error tell me "syntax error".
can some one help me please?