Search found 1794 matches

by coderJeff
Oct 18, 2018 0:48
Forum: Community Discussion
Topic: FreeBASIC Community produced game
Replies: 123
Views: 4375

Re: FreeBASIC Community produced game

CoderJeff is working hard on the compiler instead, I think. haha, yeah, can't be too sure on that one. :) Mostly yes. I am usually thinking about how to improve the compiler, so the fun things seem to take a lower priority. I started making a repo for the Nanoship program but I haven't pushed it to...
by coderJeff
Oct 18, 2018 0:38
Forum: Community Discussion
Topic: New website
Replies: 34
Views: 3850

Re: New website

Sounds good to me.
by coderJeff
Oct 18, 2018 0:34
Forum: Libraries
Topic: fbsound 1.0 Win/Lin 32/64-bit (wav mp3 ogg mod it xm s3m)
Replies: 240
Views: 50162

Re: fbsound 1.0 Win/Lin 32/64-bit (wav mp3 ogg mod it xm s3m)

Thanks Joshy, I will give that a try. libdumb was one issue. I remember now my earlier post was about: the 64-bit version fbsound builds from sources OK for me using "win-builds" version of gcc (4.8.3), but not when using mingw-w64 version of gcc (gcc (x86_64-win32-sjlj-rev1, Built by MinG...
by coderJeff
Oct 07, 2018 13:50
Forum: Community Discussion
Topic: FreeBASIC Community produced game
Replies: 123
Views: 4375

Re: FreeBASIC Community produced game

On the topic of "FreeBASIC Community produced game" I received this recent notification: Hi there coderJeff, October is here, so it's time for another Halloween Challenge! Be sure to check out the rules here: http://www.dbfinteractive.com/forum/index.php?topic=6784.msg84378#msg84378 ...and...
by coderJeff
Oct 07, 2018 13:28
Forum: Libraries
Topic: fbsound 1.0 Win/Lin 32/64-bit (wav mp3 ogg mod it xm s3m)
Replies: 240
Views: 50162

Re: fbsound 1.0 Win/Lin 32/64-bit (wav mp3 ogg mod it xm s3m)

This library works well. Thank-you joshy. We recently had some name mangling changes to fbc and I was worried it might break the library. Initial tests look OK to me. I only tested on win7. Compiling from fbsound from sources is not great. Inspection of the libraries used (like libdumb) show that so...
by coderJeff
Oct 07, 2018 13:21
Forum: Hardware Interfaces / Communication
Topic: Raspberry Pi and FreeBASIC
Replies: 15
Views: 1485

Re: Raspberry Pi and FreeBASIC

I love what you guys are doing with Raspberry PI. Makes me want to go get one and try it out, even though I have no particular application in mind. We could make the instructions for building to RP a wiki page, to include with documentation. Maybe there is already instructions posted on the forums? ...
by coderJeff
Oct 07, 2018 13:06
Forum: Beginners
Topic: Importing C code into a FreeBasic program
Replies: 4
Views: 267

Re: Importing C code into a FreeBasic program

fbc works well with C compiled code. So if you have the original .c file, and can compile it for the target you are interested (win/lin/dos) then it is actually pretty easy to get the compiled code in to your fbc program. 1) write declarations in FreeBASIC (declare ...) 2) with gcc compile the the '...
by coderJeff
Oct 07, 2018 12:48
Forum: Community Discussion
Topic: Like FreeBASIC? Try JavaScript
Replies: 41
Views: 1474

Re: Try JavaScript

A lot of logic ends up looking very similar to FB. If you prefer more of a python flavor or something with stricter typing, you can try CoffeeScript or TypeScript. I never thought I'd say this, but the absolutely terrible thing that JavaScript is has become most of the things I wanted FB to be. Eas...
by coderJeff
Sep 22, 2018 16:27
Forum: General
Topic: type with constructor in namespace issue
Replies: 31
Views: 642

Re: type with constructor in namespace issue

Yeah, it's build & run-time target environment dependent. I updated wiki pages: CONSTRUCTOR (Module) DESTRUCTOR (Module) without going in to too much technical detail. I was thinking about how we could add something that IS predictable. Something like: dim shared x as T sub proc1...
by coderJeff
Sep 22, 2018 16:08
Forum: Documentation
Topic: Wiki improvements
Replies: 244
Views: 10994

Re: Wiki improvements

- the extra uinteger that stores the number of elements allocated (as part of the allocation) is added by New[] for the Types with destructors (explicit or implicit) I forgot this. I should not write documentation past my bed-time. :) Updated Operator New Expression . Please feel free to correct/ad...
by coderJeff
Sep 21, 2018 3:33
Forum: General
Topic: type with constructor in namespace issue
Replies: 31
Views: 642

Re: type with constructor in namespace issue

I left a longer answer on the bug report. Here's the short answer. I installed ubuntu 14.04 and see the same behaviour. Yep, it all works as expected. I think the confusing part for most people would be: - module constructor - object constructor They sound related; they use a similar mechanism to fu...
by coderJeff
Sep 19, 2018 17:21
Forum: General
Topic: type with constructor in namespace issue
Replies: 31
Views: 642

Re: type with constructor in namespace issue

slackware linux 64 bit (gcc version 5.3.0) from module constructor execution: 6312568 123 6312576 456 6312392 789 after module constructor execution: 6312568 321 6312576 654 6312392 987 The exact order is going to depend on the linker, the compiler, and the C-run time start-up code. I will have to r...
by coderJeff
Sep 19, 2018 16:55
Forum: Community Discussion
Topic: Feature request: instrisic Defines for console / gui mode
Replies: 60
Views: 2074

Re: Feature request: instrisic Defines for console / gui mode

The platform (e.g. __FB_WIN32__, __FB_64BIT__) intrinsic defines are defined/not defined. All other intrinsic defines are defined to a value. By setting the intrinsic to a value, the intrinsic define can be substituted wherever a constant could be used, for example: #if __FB_GUI__ andalso __FB_OUT_E...
by coderJeff
Sep 17, 2018 10:49
Forum: Community Discussion
Topic: Feature request: instrisic Defines for console / gui mode
Replies: 60
Views: 2074

Re: Feature request: instrisic Defines for console / gui mode

Sorry, I should have seen earlier. __FB_GUI__ needs to be added to doc\manual\templates\default\keywords.lst. This file is used to normalize the case of keywords in documentation pages, titles, links, examples. Can get this fixed on the next wiki snapshot.
by coderJeff
Sep 15, 2018 11:30
Forum: Community Discussion
Topic: Feature request: instrisic Defines for console / gui mode
Replies: 60
Views: 2074

Re: Feature request: instrisic Defines for console / gui mode

@marpon, you are welcome. I learned some new things too. In future I will try to give better guidance/instruction. The quality of pull request could be improved. But we all have to start somewhere. @St_W, yea, having a merge from marpon:master to fbc:master was a little different than what I usually...

Go to advanced search