Reverse a list

Mike Bonner bonnmike at gmail.com
Mon Feb 9 13:58:47 EST 2015


No. Delimiters are terminators, not dividers. They belong to the text that
precedes them.

Ah k, so there is an implied terminator on the last item?

"1,2,3,4," is 4 items (comma terminator as you said, acts as a terminator
to the preceeding)  "1,2,3,4,5" is 5, so the trailing coma is implied.  At
least thinking of it this way helps me get past mental issuse caused by a
line that isn't a line.  (I guess ending with a cr doesn't make the next
(empty) line exist, it just creates the potential for a new line)

On Mon, Feb 9, 2015 at 11:30 AM, J. Landman Gay <jacque at hyperactivesw.com>
wrote:

> On 2/9/2015 3:46 AM, Kay C Lan wrote:
>
>>   But
>> if your last line was "This is the last line" and there was a CR and the
>> insertion point was sitting on the line below I would expect a reverse
>> sort
>> to produce a blank line and the 2nd line would read "this is the last
>> line".
>>
>
>
> No. Delimiters are terminators, not dividers. They belong to the text that
> precedes them.
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list