[Ohrrpgce] SVN: teeemcee/11162 File browser now sorts filenames containing numbers numerically: f10.bmp

Ralph Versteegen teeemcee at gmail.com
Tue May 21 05:46:10 PDT 2019


Strange! It passes for me. Could you try the following?

DIM as zstring ptr s1 = @"123456789000", after1, s2 = @"12345678900", after2
? strtol(s1, @after1, 10), strtol(s2, @after2, 10)
? after1 - s1, after2 - s2

On Tue, 21 May 2019 at 07:13, James Paige <Bob at hamsterrepublic.com> wrote:

> This seems to fail when I run scons test
>
> Test #7: numeric_string_compare... FAIL (on line 1523 in util.bas)
> scons: *** [test] Error 7
> scons: building terminated because of errors.
>
>
> On Sun, May 19, 2019 at 1:15 AM <subversion at hamsterrepublic.com> wrote:
>
>> teeemcee
>> 2019-05-18 22:15:25 -0700 (Sat, 18 May 2019)
>> 156
>> File browser now sorts filenames containing numbers numerically: f10.bmp
>> after f9.bmp
>>
>> Added numeric_string_compare for that.
>> And cleaned up string_compare.
>> ---
>> U   wip/browse.bas
>> U   wip/menustuf.rbas
>> U   wip/util.bas
>> U   wip/util.bi
>> U   wip/vectortest.bas
>> _______________________________________________
>> Ohrrpgce mailing list
>> ohrrpgce at lists.motherhamster.org
>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20190522/039566de/attachment.html>


More information about the Ohrrpgce mailing list