newbie question

Sadhunathan Nadesan sadhu at castandcrew.com
Mon Jan 27 15:12:01 EST 2003


Yo,

A newbie question:

I want to wrap some single line text in a text box and not use a
horizontal scroll bar.  I have an algorithm that works.

But it is horribly inefficient and I'm sure there must be a better way!
Can you X-talk gurus help me out with this one?

if (the length of this_line > 80) then
  repeat with i = 1 to the length of this_line
    put char i of this_line after field "contents"
    if (i mod 80 = 0) then put return after field "contents"
  end repeat
end if

Mahalo!




More information about the metacard mailing list