Some strange Rev parsing problem?

Jan Schenkel janschenkel at yahoo.com
Thu Jan 29 09:05:02 EST 2004


--- Doug Lerner <doug at webcrossing.com> wrote:
> [snip]
> 
> I guess the workaround is either to use htmlText
> like I ended up doing or
> finding the number of lines first, as in:
> 
> put the number of lines of field "chatField" into
> nLines
> set the textStyle of word 1 of line nLines of field
> "chatField" to bold
> 
> doug
> 

Hi Doug,

Have you tried the alternative syntax for "last line",
which is to count back ?
  set the textstyle of word 1 to 2 of line -1 \
      of field "chatField" to bold

Hope this works,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/


More information about the use-livecode mailing list