I am trying to use a variable within a drawTextAbsolute line.
I have declared the variable Row in premain and that part works.
I then have within function main,
var textnum = "TopRow" + Row;
Then,
drawTextAbsolute(-20, textnum, sLR.toFixed(2), .......... ;
I get an error concerning the "paremeter #2" as being invalid. If Row = 2, how do I get the variable textnum to be TopRow2 and be recognized in the drawText statement?
Thanks in advance for your help,
David
I have declared the variable Row in premain and that part works.
I then have within function main,
var textnum = "TopRow" + Row;
Then,
drawTextAbsolute(-20, textnum, sLR.toFixed(2), .......... ;
I get an error concerning the "paremeter #2" as being invalid. If Row = 2, how do I get the variable textnum to be TopRow2 and be recognized in the drawText statement?
Thanks in advance for your help,
David
Comment