Re: TIB:New programer


[Prev][Next][Index][Thread]

Re: TIB:New programer




TGaArdvark@aol.com wrote:

> >> You can do it manually with the output command but if it
> >> ever changes you have to go and re-do it.
> >
> > Why would it change?
>
> If you wanted to display "Hello world", you could easily count
> the pixels or just use trial and error to center it.  If you wanted
> to display the contents of "string1", it might be a bit harder than
> that.  You'd need some way of finding the length in pixels of
> "string1".

Isn't the font on the TI-92 fixed?  You don't need to determine the
length in pixels, you just need to find the length of the string (# of
chars).  Then figure out how many characters can fit on one line on the
screen, do a little math, and you got it.

--
Bryan Rabeler <brabeler@ticalc.org>
   File Archives, HTML, and Support
   the ticalc.org project - http://www.ticalc.org/



References: