Where to put the ( ) ?

Alex Tweedly alex at tweedly.net
Fri Aug 26 06:19:51 EDT 2005


Jason Vickers wrote:

> Alex,
> I now have the code correct, but it is not returning the line number
> of the
> field - it returns the text in that line. I thought clickLine was
> supposed
> to return the line number. Did I misread that part in the "help"
> section? But this happens when I run it from Revolution.
>
> When I build my standalone and get the clickLine of the field, my
> variable is empty.
>
> It is frustrating because the app worked a couple of days ago and just
> stopped working. I just put in the <<of field "tests">> this today
> because everything had stopped working.
>

clickLine() gives a chunk expression describing the selected line
value of clickLine() therefore is the content of that line

As Mark said - it sounds like you want "word 2 of clickLine()"


-- 
Alex Tweedly       http://www.tweedly.net



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23/08/2005




More information about the use-livecode mailing list