Search found 1309 matches

by jj2007
Mar 24, 2020 1:49
Forum: General
Topic: Corona virus simulator
Replies: 41
Views: 1399

Re: Corona virus simulator

Very cute, thumbs up!
by jj2007
Mar 14, 2020 22:52
Forum: Tips and Tricks
Topic: WIN-API without any #Include "..."
Replies: 13
Views: 530

Re: WIN-API without any #Include "..."

deltarho[1859] wrote:we should mention that MessageBoxTimeoutA, and the other two variants, are undocumented functions.
Correct. I had some weird problems with this function, too. In the end I decided to use the normal MessageBox in a thread that I could kill after a while.
by jj2007
Mar 14, 2020 2:05
Forum: Tips and Tricks
Topic: WIN-API without any #Include "..."
Replies: 13
Views: 530

Re: WIN-API without any #Include "..."

caseih wrote:Yes that will slow the compiler down
Absolutely! With my old Core i5, it's about 0.13 seconds more.
by jj2007
Mar 13, 2020 14:33
Forum: Windows
Topic: Epoch time.
Replies: 30
Views: 972

Re: Epoch time.

I still have a ZX Spectrum, and a programmable Casio PB 80 Here is mine: http://www.jj2007.eu/pics/CasioFx502P.jpg With the Atari ST, I developed a production data acquisition software for a small enterprise that was used for a decade, in a very rough environment. From time to time the monitors fai...
by jj2007
Mar 13, 2020 4:04
Forum: Windows
Topic: Epoch time.
Replies: 30
Views: 972

Re: Epoch time.

I had a ZX Spectrum, and before that a programmable Casio calculator. The Atari ST was a huge step forward for me, especially when I could replace the "built-in" Basic dialect with GfaBasic
by jj2007
Mar 12, 2020 23:13
Forum: Windows
Topic: Epoch time.
Replies: 30
Views: 972

Re: Epoch time.

deltarho[1859] wrote:... used a block image transfer (blit) for the redrawing. It was fairly swift but with a 8MHz CPU in my Atari ST
Welcome to the club ;-)
I used GfaBasic, though, and an assembler called "GST 68000". Memories of a distant past...
by jj2007
Mar 09, 2020 22:04
Forum: Community Discussion
Topic: Installing FreeBasic with Scoop on Windows
Replies: 21
Views: 812

Re: Installing FreeBasic with Scoop on Windows

badidea wrote:A direct link to an executable from the freebasic homepage is unwise, I think
Just for curiosity: why? I've practised a link to a zip archive with one executable (the installer) for a decade or so (here), no problems so far.
by jj2007
Mar 09, 2020 14:00
Forum: Community Discussion
Topic: Installing FreeBasic with Scoop on Windows
Replies: 21
Views: 812

Re: Installing FreeBasic with Scoop on Windows

I use the links in the news section of the forum. Or even https://www.freebasic.net/ Yes, that's the one that Google points to when searching FreeBasic . Unfortunately, the "Get FreeBasic" link points to a SF page (i.e., not to an installer), so n00b has to understand that, in this new, u...
by jj2007
Mar 09, 2020 12:53
Forum: Community Discussion
Topic: Installing FreeBasic with Scoop on Windows
Replies: 21
Views: 812

Re: Installing FreeBasic with Scoop on Windows

The good news is that googling FreeBasic brings you straight to the SourceForge download page, and there is a big green button saying "Download". The bad news is that it starts slowly ("18 minutes left") and ends with "network error". Google SourceForge reputation to un...
by jj2007
Mar 08, 2020 11:52
Forum: Community Discussion
Topic: Installing FreeBasic with Scoop on Windows
Replies: 21
Views: 812

Re: Installing FreeBasic with Scoop on Windows

What's wrong with just unzipping the zips? Which one of the dozen that is available? And to which folder? Does a n00b know where to put all that stuff? I am sure it's being explained somewhere ;-) Add to that the fact that we have no FB editor but half a dozen competing FB IDEs, and that syntax and...
by jj2007
Mar 08, 2020 4:20
Forum: Community Discussion
Topic: Installing FreeBasic with Scoop on Windows
Replies: 21
Views: 812

Re: Installing FreeBasic with Scoop on Windows

This is what I have regarding WinFBE. It works fine, but it doesn't resemble at all the contents of WinFBE-master.zip : FreeBasic\WinFBE_Suite\UserTools FreeBasic\WinFBE_Suite\Templates FreeBasic\WinFBE_Suite\Settings FreeBasic\WinFBE_Suite\Sample_Projects FreeBasic\WinFBE_Suite\Languages FreeBasic\...
by jj2007
Mar 08, 2020 2:41
Forum: Windows
Topic: SystemTimeToFileTime
Replies: 23
Views: 604

Re: SystemTimeToFileTime

adeyblue wrote:Tested on Win 7
121 years ago =
07-03-1899 - 23:13:07
Interesting. I'll have to check why my routine stops at 1.1.1900
by jj2007
Mar 07, 2020 7:57
Forum: Windows
Topic: SystemTimeToFileTime
Replies: 23
Views: 604

Re: SystemTimeToFileTime

deltarho[1859] wrote:Glad to here it. Image
Here, here! (quoting John Bercow)Image
by jj2007
Mar 02, 2020 9:32
Forum: General
Topic: Instr()
Replies: 25
Views: 845

Re: Instr()

Munair is correct. You need to create the strings differently, like this:

Code: Select all

    dim as string str1
    str1=space(10000000)
    for a as longint = 1 to 10000000
        mid(str1, a, 1)= chr( int( rnd * 256 ))
    next
by jj2007
Mar 01, 2020 13:52
Forum: Community Discussion
Topic: question about dir()
Replies: 6
Views: 327

Re: question about dir()

Yes, it's kind of normal. FindNextFile() behaves like that, see e.g. Find *.xls but not *.xlsx files for a workaround (not FB but the logic should be clear).

Go to advanced search