Re: TIB: Getting the length of strings
[Prev][Next][Index][Thread]
Re: TIB: Getting the length of strings
TGaArdvark@aol.com wrote:
> >> The response will be a number, the length in character of the string. To
> >> find pixels wide, multiply by 6, as that is the width of each character in
> >> the string.
> >> To put a string at the center of the program screen, use this form:
> >> Output row,119-dim(string),string
> >>
> >> Paul DeLeeuw
> >
> > Yes, that's what I was looking for. Very useful function.
>
> Are you sure that's right? Isn't it 119-dim(string)/2 or something
> like that?
Yes, that is actually right. It should be:
Output row, (119-dim(string))/2, string
--
Bryan Rabeler <brabeler@ticalc.org>
File Archives, HTML, and Support
the ticalc.org project - http://www.ticalc.org/
References: