[OT] reOrdering text

Richmond richmondmathewson at gmail.com
Wed Jan 16 14:43:39 EST 2013


On 01/16/2013 09:38 PM, Mike Bonner wrote:
> Hmm, Worked for me with the sample data posted, so not sure what happened.
> When you retyped it thx to google not liking my paste, does case 2 still
> say put tline & cr before tTmp? (before, not after)
>
> Not sure where I went wrong. The other method using sort is far better
> anyway since it will work even if the order is (slightly) shuffled about in
> the original.
>
>
>

I have a socking great text file that reads in part something like this:

Cook my cheese
fishface1
finish
Shave my legs
fishface2
finish
Paint my fingernails
fishface3
finish
Wax my arms
fishface4
finish

And your routine did this:

(with my original 72 page horror)

.
.
.
.
Wax my arms
finish
fishface4




More information about the use-livecode mailing list