lineoffset doesn't find empty lines

Björnke von Gierke bvg at mac.com
Sun Aug 16 17:52:01 EDT 2009


yes it's more complex. among other things i want to divide the data at  
the empty line into two vars, delete the next line (if another  
condition is met), and put part of the lines (not all) of the parts  
before the empty line into an array (tho i can use lineoffset for  
those!). mark's solution can do what i want, but it's certainly not  
very straightforward.

put the number of lines in char 1 to offset(return & return,  
theContent) of theContent into theDelimiterNumber


On 16 Aug 2009, at 23:45, Mark Wieder wrote:

>> oops mark-mismatch alert!
>
> To add another Mark into the mix... <g>
>
> If you're just trying to eliminate blank lines and parse the rest,
> can't you just "filter theContent without empty" and then proceed?
> Although that seems too straightforward, so you're probably trying to
> do something more complex...




More information about the use-livecode mailing list