Reverse a list
Kay C Lan
lan.kc.macmail at gmail.com
Thu Feb 12 21:35:17 EST 2015
On Fri, Feb 13, 2015 at 3:04 AM, J. Landman Gay <jacque at hyperactivesw.com>
> On 2/12/2015 12:54 PM, Peter Haworth wrote:
>>> I haven't run any of the LC scripts to do this but if that's true, then
>> they don't achieve the original objective of reversing the list.
> I don't think it's true. Using LC scripts, the first and last lines will
> be terminated by a CR and the line count won't change. The first and last
> lines will have no values but are still terminated by a CR, which is what
> determines the count.
Jacques right. I should have actually run the scripts rather than just
doing it mentally. Because they all add a terminating CR then all is good.
Apologies for confusing the matter.
More information about the Use-livecode