Good day,
I have this PressTalk
define(&i,integer,0)
&iNbLignesAffichees:=0
translate(.9886,4.55)
For(&i,0,1,&iNbPersonnes-1)
&iLigneDebut:=(&i*41)+23
&iLigneEnCours:=&iLigneDebut
&iNbLignesAffichees:=&iNbLignesAffichees+1
show(trim(@(&i+3,1,99)))
translate(2.75,0)
Repeat()
show(trim(@(&iLigneEnCours,1,99)))
crlf(.1823)
&iNbLignesAffichees:=&iNbLignesAffichees+1
&iLigneEnCours:=&iLigneEnCours+1
if(&iNbLignesAffichees=30)
showpage()
&iNbLignesAffichees:=1
&iLigneEnCours:=&iLigneEnCours-1
endif()
until((trim(@(&iLigneEnCours+1,1,5))='') or &iLigneEnCours=¤t.lpp)
translate(-2.75,0)
crlf()
crlf()
Endfor()
The first line of my item is not set to the specified 2.75, the subsequent lines are. What am I doing wrong?
Tx
Yves
[img]
https://drive.google.com/file/d/1zqqgiPp8KhYw1LUkiadqTVF8wbb_4wPW/view?usp=sharing[/img]