Sort problem

Jim Hurley jhurley at infostations.com
Sun Mar 21 15:13:15 EST 2004


>
>Message: 7
>Date: Sun, 21 Mar 2004 12:53:21 -0600
>From: "J. Landman Gay" <jacque at hyperactivesw.com>
>Subject: Sort problem
>To: Revolution Mailing List <use-revolution at lists.runrev.com>
>Message-ID: <405DE4A1.4090007 at hyperactivesw.com>
>Content-Type: text/plain; charset=us-ascii; format=flowed
>
>The "sort container" command doesn't seem to work with customized item
>and line delimiters. Can anyone else verify?
>
>function sortRecords theData,theItem
>    set the lineDelimiter to "@"
>    set the itemDelimiter to "^"
>    sort lines of theData by item theItem of each
>    return theData
>end sortRecords
>
>
>--
>Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>HyperActive Software           |     http://www.hyperactivesw.com
>

Jacqueline,

It doesn't work for me.

It does work if I use to the default delimiters, i.e. comma and return.

Moral: Life is designed for those who adhere to the default.

Jim


More information about the use-livecode mailing list