Search found 1236 matches

by jj2007
Sep 27, 2019 14:29
Forum: Windows
Topic: windows api splitbutton example?
Replies: 5
Views: 921

Re: windows api splitbutton example?

Pierre, your code doesn't work.
by jj2007
Sep 24, 2019 16:13
Forum: Community Discussion
Topic: Upgraded to FreeBASIC 64bit, now problems
Replies: 10
Views: 983

Re: Upgraded to FreeBASIC 64bit, now problems

Native 64 bit integers run the fastest on 64 bit hardware. So is the same for 32 bit integers on 32 bit hardware. Interesting. Any benchmarks proving this? I am afraid I haven't seen 32-bit hardware for quite a while. 32-bit code, yes, all the time - but on 64-bit hardware. https://software.intel.c...
by jj2007
Sep 21, 2019 2:26
Forum: Beginners
Topic: File created by an external program
Replies: 4
Views: 675

Re: File created by an external program

Under Windows, there are much better options for interprocess communication, the simplest being a SendMessage().
by jj2007
Sep 19, 2019 6:32
Forum: Tips and Tricks
Topic: Fastest PRNG around, the XORSHIFT
Replies: 34
Views: 2415

Re: Fastest PRNG around, the XORSHIFT

coderJeff wrote:Is there an FPU with a POW instruction?
Ask BitRake: a combi of fldl2e, f2xm1 and a few others. Complicated but about 30% faster than CRT pow().
by jj2007
Sep 06, 2019 7:07
Forum: Beginners
Topic: GUESS MY NUMBER GAME
Replies: 7
Views: 784

Re: GUESS MY NUMBER GAME

Compliments, it compiles out of the box, and it works fine!
by jj2007
Aug 30, 2019 7:13
Forum: Beginners
Topic: Read a simple LibreOffice Calc file
Replies: 24
Views: 7244

Re: Read a simple LibreOffice Calc file

Instead, I need is to read an existing one hidden and readonly . THE BIGGEST ISSUE: The necessary function loadComponentFromURL() requires a "special" parameter #4 to specifies "hidden" and "readonly". I do not know how to create this parameter for "hidden" a...
by jj2007
Aug 29, 2019 19:28
Forum: Beginners
Topic: Read a simple LibreOffice Calc file
Replies: 24
Views: 7244

Re: Read a simple LibreOffice Calc file

I correct myself: LibreOffice does have DDE
by jj2007
Aug 29, 2019 18:45
Forum: Beginners
Topic: Read a simple LibreOffice Calc file
Replies: 24
Views: 7244

Re: Read a simple LibreOffice Calc file

Red, You should explore Joshy's advice. LibreOffice has a BASIC similar to VBA, and I am pretty sure that it can open various formats including *.xlsx. That would be by far the easiest way. With Microsoft Excel, you could even steer the whole process from outside using DDE, but as far as I remember ...
by jj2007
Aug 20, 2019 13:20
Forum: Tips and Tricks
Topic: StringArray Sort (case independent)
Replies: 87
Views: 26256

Re: StringArray Sort (case independent)

It is obviously a false positive - I build the exes from scratch every day. No option to exclude a folder from scanning? I haven't use an AV for some years, the last one was Windows Defender, and it had such an option. If I had any intention to earn money with my coding, I would sue the hell out of ...
by jj2007
Aug 20, 2019 7:58
Forum: Tips and Tricks
Topic: StringArray Sort (case independent)
Replies: 87
Views: 26256

Re: StringArray Sort (case independent)

Post code, MrSwiss. If you are still a coder...
by jj2007
Aug 20, 2019 0:06
Forum: Tips and Tricks
Topic: StringArray Sort (case independent)
Replies: 87
Views: 26256

Re: StringArray Sort (case independent)

I updated my library algo QSort() , see Fast and powerful string sort . The trick with the conversion table gave it a 2.8x speed boost - thanks a lot, Juergen! As mentioned earlier, it's a stable merge sort, and it has a number of other features, such as sorting by column (for spreadsheets), sorting...
by jj2007
Aug 19, 2019 14:05
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 31833

Re: New array features

Down to a few errors, using uppercase and no -asm att: *** compiling TmpFb.bas with -w all -Wc -O3 -s console *** Juergen\FB64\inc\array.bi(715) error 1: Argument count mismatch, found ')' in 'function = fb_ArraySort( byval ap, byval sa, byval t, byval cp, byval ai.p, byval ai.li, byval n)' Juergen\...
by jj2007
Aug 18, 2019 22:58
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 31833

Re: New array features

*** compiling TmpFb.bas with -w all -asm att -Wc -O3 -s console *** C:\Juergen\FB64\inc\array.bi(715) error 1: Argument count mismatch, found ')' in 'function = fb_ArraySort( byval ap, byval sa, byval t, byval cp, byval ai.p, byval ai.li, byval n)' C:\Juergen\FB64\inc\array.bi(1844) error 58: Type ...
by jj2007
Aug 18, 2019 8:14
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 31833

Re: New array features

jj2007 just pulled out, a shoe full of mud, in another thread and reacts, as expected, with a deeply hurt, overinflated ego, like a petulant child Damn, sometimes I desperately miss the icons here! Thanks anyways, you made my day :lol: :lol: Btw when was the last time that you gave us useful code? ...
by jj2007
Aug 18, 2019 8:03
Forum: Tips and Tricks
Topic: StringArray Sort (case independent)
Replies: 87
Views: 26256

Re: StringArray Sort (case independent)

i've actually been working on an in-place merge for about a week. seems my brain wants me to solve this one. My version took a bit longer, actually; and yesterday I threw out the call to StringsDiffer() and implemented Juergen's table solution instead (see Aug 06, 2019 9:30). Much faster for the ca...

Go to advanced search