match{chunk,text} problem

Victor Eijkhout eijkhout at cs.utk.edu
Sat Dec 29 16:10:01 EST 2001


I'm going out of my mind.

on mouseup
   put "a/b/c" into fn
   put 0 into n1
   put 0 into n2
   matchchunk(fn,"([^/]*)$",n1,n2)
   put n1 && n2
end mouseup

  * There was a Script Compile Error at 4:07:01 PM
Error description:  Expression: missing ')' before factor
Object: field id 1239 of card id 1002 of stack "/Macintosh 
HD/Users/victorle/Documents/Revolution programming/alarm.rev"
--------------------
matchchunk(fn,"([^/]*)$",n1,n2)
--------------------
Value:

What obvious thing am I overlooking?

-- 
Victor Eijkhout <eijkhout at cs.utk.edu>
tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F)
http://www.cs.utk.edu/~eijkhout/



More information about the use-livecode mailing list