On Mar 20, 2012, at 4:51 PM, Mark Wieder wrote: > Jacque- > > Tuesday, March 20, 2012, 1:44:08 PM, you wrote: > >> On 3/20/12 3:30 PM, Mark Wieder wrote: >>> Jacque- >>> >>> Tuesday, March 20, 2012, 1:20:51 PM, you wrote: >>> >>>>> _internal script colorize line 1 to (the number of lines of field 1) of >>>>> field 1 >>> >>>> Ooooh! >>> >>> You can also use chars instead of lines. >>> > >> You mean like, "line 2 to -1 of" ...oh never mind. > > Actually, (ignoring the other discussion...) the colorize routine for > some reason won't take -1 as a parameter - you have to be explicit > about it and say "(the number of lines of x") instead.
Yes. When I use "-1" instead of the lengthier form, it won't compile, and the long form compiles but doesn't do anything when I execute it. No error, no action. MacBook, OSX 10.6.8, Rev Studio 4.5.3, build 1210, operating on an ordinary text field. I was so hopeful! Any other ideas? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode