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

Ralph Versteegen teeemcee at gmail.com
Fri May 31 04:55:44 PDT 2019


Ooooh! You're using a fbc that defaults to 64-bit builds. Oops, I should
have thought of 64-bit. still usually stick to 32-bit, for fast compiles
(I still usually stick to 32-bit for faster compiles.)

On Fri, 31 May 2019 at 13:01, James Paige <Bob at hamsterrepublic.com> wrote:

> Also, this is the freebasic version I am using:
>
> fbc --version
> FreeBASIC Compiler - Version 1.05.0 (01-31-2016), built for linux-x86_64
> (64bit)
> Copyright (C) 2004-2016 The FreeBASIC development team.
>
> On Thu, May 30, 2019 at 9:00 PM James Paige <Bob at hamsterrepublic.com>
> wrote:
>
>> I finally got a chance to test this, and here is what it prints:
>>
>> 123456789000         12345678900
>>  12            11
>>
>> On Tue, May 21, 2019 at 8:59 AM James Paige <Bob at hamsterrepublic.com>
>> wrote:
>>
>>> Sure, I'll give it a try when I get a chance (probably won't be today)
>>>
>>> On Tue, May 21, 2019, 8:47 AM Ralph Versteegen <teeemcee at gmail.com>
>>> wrote:
>>>
>>>> Oh, add #include "crt.bi"
>>>>
>>>> On Wed, 22 May 2019 at 00:46, Ralph Versteegen <teeemcee at gmail.com>
>>>> wrote:
>>>>
>>>>> 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
>>>>>>
>>>>> _______________________________________________
>>>> 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/20190531/fe999b68/attachment-0001.html>


More information about the Ohrrpgce mailing list