Search found 2645 matches

by srvaldez
May 05, 2021 21:46
Forum: Beginners
Topic: How to compile & Run freebasic code
Replies: 22
Views: 500

Re: How to compile & Run freebasic code

hello kcvinu, I know that you asked jj but I would like to recommend WinFBX by Jose Roca https://github.com/JoseRoca/WinFBX
it includes the Cwstr type along with just about all you need to do windows programming, you may find some useful code/libraries here as well https://www.freebasic-portal.de/
by srvaldez
May 04, 2021 22:20
Forum: Beginners
Topic: How to compile & Run freebasic code
Replies: 22
Views: 500

Re: How to compile & Run freebasic code

thank you kcvinu :-)
much appreciated.
by srvaldez
May 04, 2021 21:12
Forum: Beginners
Topic: How to compile & Run freebasic code
Replies: 22
Views: 500

Re: How to compile & Run freebasic code

@kcvinu
would you care to share how you managed to setup VScode to compile for FB?
no matter what I tried I could never get it to work
by srvaldez
May 04, 2021 10:51
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 404
Views: 55448

Re: Gas64 (no more use of gcc, only gas) WDS / LNX

thank you SARG :-)
by srvaldez
May 03, 2021 12:42
Forum: Documentation
Topic: FreeBASIC Online Documentation - Wiki
Replies: 19
Views: 32169

Re: FreeBASIC Online Documentation - Wiki

hello fxm
information on literal suffixes for integer types is a bit hard to find, typing suffix in the index or search does not help, I found the info by accident by typing ll, in Literals
by srvaldez
May 03, 2021 10:59
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 404
Views: 55448

Re: Gas64 (no more use of gcc, only gas) WDS / LNX

hello SARG :-)
I found a small problem when moving a constant into a register without size suffix, example

Code: Select all

asm
   mov edi,1
end asm

Error: no such instruction: `found AN ERROR:prevpart empty????????'
if you add size suffix then it's OK

Code: Select all

asm
   mov edi,1L
end asm

tested with the latest Git repo
by srvaldez
May 02, 2021 14:19
Forum: Beginners
Topic: How to compile & Run freebasic code
Replies: 22
Views: 500

Re: How to compile & Run freebasic code

you could probably make a batch file that would invoke fbc.exe and then after successful compile run the executable if it was produced, you will have to do a bit of searching but it should be doable, your IDE would invoke your batch file instead of fbc.exe
by srvaldez
Apr 26, 2021 9:36
Forum: General
Topic: gmp 6.2.1 and mpfr 4.1.0
Replies: 46
Views: 6350

Re: gmp 6.2.1 and mpfr 4.1.0

that's a quirk of FB, see Global Operators at https://www.freebasic.net/wiki/ProPgOperatorOverloading
by srvaldez
Apr 25, 2021 23:32
Forum: General
Topic: gmp 6.2.1 and mpfr 4.1.0
Replies: 46
Views: 6350

Re: gmp 6.2.1 and mpfr 4.1.0

Hi jdebord
3.33 is a rounded up value from 1/log10(2), I figured that 3.33 was a practical value for this purpose.
by srvaldez
Apr 11, 2021 21:21
Forum: Community Discussion
Topic: FreeBASIC 1.07 Release Discussion
Replies: 107
Views: 18460

Re: FreeBASIC 1.07 Release Discussion

@coderjeff
thanks for the tip
by srvaldez
Apr 11, 2021 20:07
Forum: Community Discussion
Topic: FreeBASIC 1.07 Release Discussion
Replies: 107
Views: 18460

Re: FreeBASIC 1.07 Release Discussion

thank you coderjeff tor the hard work, much appreciated when compiling with fbc-gcc-8.1 or above the following gives a warning dim as string dayofweek(1 to 7)={"Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"...
by srvaldez
Apr 11, 2021 18:58
Forum: General
Topic: Problem with 64 bit gcc 8.4 by dodicat (split from 25215)
Replies: 74
Views: 2601

Re: Problem with 64 bit gcc 8.4 by dodicat (split from 25215)

@coderJeff
you have done an amazing amount of good work, please don't think that some anonymous person is in any way trying to best you in anyway
by srvaldez
Apr 11, 2021 11:11
Forum: General
Topic: Problem with 64 bit gcc 8.4 by dodicat (split from 25215)
Replies: 74
Views: 2601

Re: Problem with 64 bit gcc 8.4 by dodicat (split from 25215)

Hi coderJeff
tested the FB gcc-8.3 for wildcard expansion and it works OK, thank you :-)
by srvaldez
Apr 08, 2021 19:48
Forum: Libraries
Topic: compiling the openal example from the latest version?
Replies: 6
Views: 582

Re: compiling the openal example from the latest version?

when compiling to 64-bit, the program may complain that alu.dll is missing, if that happens then simply copy libalut-0.dll to alut.dll keeping libalut-0.dll
I am not happy with this dll mess but have not found another solution
by srvaldez
Apr 06, 2021 18:45
Forum: Community Discussion
Topic: building mingw toolchain
Replies: 2
Views: 208

Re: building mingw toolchain

thanks robert
I might give it a go, the problem is that if something doesn't go right I won't have a clue on how to resolve it :-)

Go to advanced search