Get chunk info from line numbers?

Mark Smith mark at maseurope.net
Wed Apr 5 20:50:47 EDT 2006


put length(line 1 to 19 of fld fieldNumber) + 1 into startChar
put length(line 1 to 29 of fld fieldNumber) + 1 into endChar

will get the offsets (in chars) of lines 20 and 30 -- is this what you need?

Best,

Mark

On 4/6/06, Garrett Hylltun <garrett at paraboliclogic.com> wrote:
> Mark Smith wrote:
> > What chunk info are you after? I mean, what sort of information about
> > line 20 to 30 are you after?
>
> char startChar to endChar of field fieldNumber
>
> -Garrett
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list