foundline() and linedelimeters other than return

R. Hillen mail at richard-hillen.de
Mon Apr 18 14:49:30 EDT 2005


Hello,

I wrote:

on mouseUp
   set the itemdelimiter to "|"
   set the linedelimiter to "\"

   put "a" & linedelimiter into field "haha"
   put "b" & linedelimiter after field "haha"

   find "b" in field haha
  answer the number of lines of field haha & return & the foundline
end mouseUp


This Script return  2  lines with "b" found in line _1_ of field 1.
I expected line 2 of field 1.

Am I wrong?

Richard.


More information about the use-livecode mailing list