lineoffset

Jim Ault jimaultwins at yahoo.com
Fri Nov 6 22:34:04 EST 2009


Correct.
This has been such a long thread I did not look at the script in  
exactly Rick's set up.

Doing the (-1) adjustment is necessary.

Jim Ault
Las Vegas

On Nov 6, 2009, at 7:13 PM, J. Landman Gay wrote:

> Jim Ault wrote:
>> Very curious why you would have to add 1 to the line number..
>> My script works here without it.
>
>
>>>>  put  lineOffset( cr & the clicktext & "|", IT ) into theLineNum
>
> Because the lineoffset is finding the preceding line with the cr,  
> not the following line with the requested data.
>
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list