Search found 1358 matches

by jj2007
May 26, 2020 10:42
Forum: Community Discussion
Topic: Why did you choose FreeBASIC?
Replies: 31
Views: 1413

Re: Why did you choose FreeBASIC?

deltarho[1859] wrote:deltarho[1859] 72½
I was convinced that 1859 was your year of birth ;-)

Almost 64 over here!
by jj2007
May 26, 2020 2:09
Forum: Tips and Tricks
Topic: Import a jaggered CSV file and save data to a common comma delimeted csv format
Replies: 19
Views: 596

Re: Import a jaggered CSV file and save data to a common comma delimeted csv format

I downloaded the file again then another 20 mins later and got a different result!, seems that we have a moving target! Yes, it seems somebody is working on the footnotes. So the footnote number may have changed, but the relevant cell text should read WB Staff estimates. Cambodia Poverty Assessment...
by jj2007
May 24, 2020 13:25
Forum: Tips and Tricks
Topic: Import a jaggered CSV file and save data to a common comma delimeted csv format
Replies: 19
Views: 596

Re: Import a jaggered CSV file and save data to a common comma delimeted csv format

NOT Plain wrong. Download the dataset again and you will see that it is significantly different from your first download. Try and make sense of that ... Yep, they are actively working on their dataset. That happens, even at the United Nations Statistical Office ;-) "1514","WB Staff e...
by jj2007
May 24, 2020 3:04
Forum: Tips and Tricks
Topic: Import a jaggered CSV file and save data to a common comma delimeted csv format
Replies: 19
Views: 596

Re: Import a jaggered CSV file and save data to a common comma delimeted csv format

and LibreOffice Calc gives: 1529 WB Staff estimates. Cambodia Poverty Assessment 2013 "Where Have All The Poor Gone? May 2013. Cambodia Socio-Economic Survey 2010." Plain wrong. Excel is not correct, either, but at least it gets the "1576" (and it's 44552 lines, not 44599). Here...
by jj2007
May 23, 2020 18:31
Forum: Tips and Tricks
Topic: Import a jaggered CSV file and save data to a common comma delimeted csv format
Replies: 19
Views: 596

Re: Import a jaggered CSV file and save data to a common comma delimeted csv format

I get row 42254 as the first row containing "WB Staff estimates. Cambodia Poverty" And there is a number "1529" as the first column. ... My result Number of rows 44599 "1529" "WB Staff estimates. Cambodia Poverty Assessment 2013 "Where Have All The Poor Gone?...
by jj2007
May 23, 2020 9:31
Forum: Tips and Tricks
Topic: Import a jaggered CSV file and save data to a common comma delimeted csv format
Replies: 19
Views: 596

Re: Import a jaggered CSV file and save data to a common comma delimeted csv format

When you are ready to attack a slightly more complicated "jaggered" csv file, go to the United Nations , select "All countries", click "View data", then "Download the entire MDG dataset" (click on the @). Line 42539, for example, should read WB Staff estimates...
by jj2007
May 23, 2020 0:49
Forum: Community Discussion
Topic: GW-BASIC is open source now
Replies: 7
Views: 343

Re: GW-BASIC is open source now

Apparently the interpreter was originally written in some assembly-like language and then translated to assembly for various platforms, not just 8086 and DOS ... Microsoft Basic was super portable back in assembly days. So interesting. But not really surprising. The M in MASM stands for "macro...
by jj2007
May 18, 2020 8:17
Forum: Windows
Topic: Help needed from José, again
Replies: 8
Views: 166

Re: Help needed from José, again

If that doesn't work, another cheap trick is to create two buttons at the same location, and to toggle their visibility with ShowWindow
by jj2007
May 04, 2020 11:00
Forum: Community Discussion
Topic: Why did you choose FreeBASIC?
Replies: 31
Views: 1413

Re: Why did you choose FreeBASIC?

I was looking for inspiration for my own BASIC dialect, and found a nice community here. But basically I am just playing around, trying to understand what's so fascinating about C++ features and toolchains in FB ;-)
by jj2007
May 03, 2020 8:41
Forum: Beginners
Topic: How to dynamic load a library?
Replies: 22
Views: 581

Re: How to dynamic load a library?

I found a workaround for strftime: ''============================================================================= #include "crt.bi" #include "windows.bi" ''============================================================================= dim as integer diditwork dim as tm ptr nowher...
by jj2007
May 02, 2020 9:51
Forum: Beginners
Topic: How to dynamic load a library?
Replies: 22
Views: 581

Re: How to dynamic load a library?

You may also like to look at this Stackoverflow thread. "How do I build against the UCRT with mingw-w64?" "as far as I understand both VS 2015 and VS 2017 use the VCRUNTIME140.DLL" - is that available on all Windows versions, or do you have to ship it with the exe to your client...
by jj2007
May 02, 2020 0:26
Forum: Beginners
Topic: How to dynamic load a library?
Replies: 22
Views: 581

Re: How to dynamic load a library?

dylibload loads the library in a completely separate location. print "Addresses of pre loaded functions:" asm int 3 lea eax, [_ultoa] mov edx, UlongToString end asm It turns out that both end up at exactly the same location. Which is not surprising - there is only one DLL with that name i...
by jj2007
May 01, 2020 19:10
Forum: Windows
Topic: AppActivate() function or similar
Replies: 7
Views: 234

Re: AppActivate() function or similar

UEZ wrote:
jj2007 wrote:@UEZ: No luck on Win7-64 with your code. Here is a proggie that works:
What have you tested which hadn't worked?
Simple situations: notepad minimized, covered by active window, covered by other windows.
by jj2007
May 01, 2020 0:08
Forum: Windows
Topic: AppActivate() function or similar
Replies: 7
Views: 234

Re: AppActivate() function or similar

@UEZ: No luck on Win7-64 with your code. Here is a proggie that works: #Include "windows.bi" Sub WinActivate(WinTitle As String) Dim As HWND hCurrentWnd = 0 hCurrentWnd = FindWindow(Null, WinTitle) if hCurrentWnd then ShowWindow(hCurrentWnd, SW_RESTORE) SetForegroundWindow(hCurrentWnd) pri...
by jj2007
Apr 30, 2020 15:41
Forum: Tips and Tricks
Topic: fast sine and fast cosine
Replies: 14
Views: 436

Re: fast sine and fast cosine

srvaldez wrote:your sum would indeed sum-up to 0, but then you only have a very small range of values
Which values other than 0..360° are relevant?

Go to advanced search