Quote: "you know the text size it stats with is 10 right? no matter what the text size changes too. the computer seems to think its still 10 and of course since i changed the size of the text. the actual text gets bigger or smaller, but the computer doesn't see to realize that."
Then simply multiply your text size by 1/10 of text width().
Does this function work? I just wrote it and haven't tested. Hope it helps.
alph$ = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
text 10,10,alph$
line 10,10,text width(alph$)+10,10
tsz = 16
set text size tsz
text 10,10,alph$
line 10,10,textwidpix(alph$,tsz)+10,10
end
function textwidpix(string$,size)
tw = text width(string$) * size /10
return tw
Everything worthwhile requires effort.