On 4/18/05 1:49 PM, R. Hillen wrote:

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?

Wait a sec, I didn't read your message enough times before I answered.

The word "linedelimiter" can't be used the way you are doing it. Try:

put "a\" into field "haha"
put "b\" into fld "haha"

You are doing text chunking, so this should work.
--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to