lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 20 April 2010 09:45, Stuart P. Bentley <stuart@testtrack4.com> wrote:
> On Fri, 16 Apr 2010 04:59:30 -0600, Matthew Wild <mwild1@gmail.com> wrote:
>
>> mystring1 < mystring2 is also perfectly valid thing to do in statically
>> typed C, which will also give you a useless answer.
>
> Not necessarily. You could want that if you need to know which string comes
> first in a shared character buffer.

Good point. Pointers are also often used as iterators in C, which
makes < meaningful.

    henk