Re: Titles...

new topic     » topic index » view thread      » older message » newer message

David,

I would not worry about it. I checked get_text_size() and it's ok. It
appears Patrick's crummy algorithm is the culprit, he is effectively
trimming the text from *both* ends simultaneously, so he in fact crosses
over the test value without actually ever attaining it. Why he does not say
something simple like

while get_text_size(text,0)+16 >= maxsize do
    text = text[2..length(text)]
end while

is beyond me, but that's the way he likes it...

Btw and quite generally, if people think a bit more carefully about the
questions they want to ask, spend more time formulating them and include
just a bit more background information, they will get their answers much
quicker, more reliably and save a lot of frustrating guesswork to their
helpers. Have a nice weekend. jiri

-----Original Message-----
From: Cuny, David <David.Cuny at DSS.CA.GOV>
To: EUPHORIA at LISTSERV.MUOHIO.EDU <EUPHORIA at LISTSERV.MUOHIO.EDU>
Date: Saturday, March 13, 1999 8:12 AM
Subject: Re: Titles... (to D.Cuny)


>Patrick Quist wrote:
>
>> How about the bug in get_text_size()?
>
>Are you saying that get_text_size() is returning negative values? What
>character string are you passing to it to get that result?
>
>-- David Cuny
>

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu