Search found 2515 matches

by coderJeff
Aug 02, 2021 12:18
Forum: Community Discussion
Topic: FreeBASIC 1.08.0 Release Discussion (June 2021)
Replies: 74
Views: 4246

Re: FreeBASIC 1.08.0 Release Discussion (June 2021)

in the near future is there any possibility to add some new features to fb compilers such as .. To return arrays as function results, or temporary arrays as in 'var x = array( elements... )' the path forward is probably to rework the variable length [w]string API's first. The lessons learned there ...
by coderJeff
Aug 02, 2021 11:20
Forum: Community Discussion
Topic: FreeBASIC 1.08.1 and 1.09.0 Development
Replies: 27
Views: 1896

Re: FreeBASIC 1.08.1 and 1.09.0 Development

u.pm( parameters... ) '' why not ? ' rather than: pm( u, parameters... ) [/tt] [/list] 'pm( u, parameters... )' - is easy to enable in the compiler - the functionality is like 95% there. - there is no association between 'pm' and 'u' - but maybe that's ok, this is a low-level construct - exposes ty...
by coderJeff
Aug 02, 2021 10:58
Forum: Windows
Topic: Developing DLLs with FBC?
Replies: 15
Views: 479

Re: Developing DLLs with FBC?

Moved to Platforms | Windows
by coderJeff
Jul 25, 2021 2:07
Forum: Documentation
Topic: SELECT CASE error
Replies: 9
Views: 402

Re: SELECT CASE error

@dodicat, interesting. Appears to have been allowed for CONST and ENUM because neither generate code (only a symbol addition to the local scope) and SELECT CASE begins a new SCOPE. I can't imagine any user code in the wild depending on that. I'll add a couple of extra checks to CONST and ENUM to gen...
by coderJeff
Jul 24, 2021 17:20
Forum: Community Discussion
Topic: Class implementation ...
Replies: 11
Views: 356

Re: Class implementation ...

FB's TYPE is nearly exactly equivalent to C++'s class. There's really no need for a "CLASS" keyword to clutter up the namespace. The "class" keyword is a quasi-reserved word in the fbc compiler (it's a token word) and reserved for future use in the documentation: see Class I agr...
by coderJeff
Jul 24, 2021 16:54
Forum: Documentation
Topic: Compiler Option: -entry
Replies: 8
Views: 151

Re: Compiler Option: -entry

fxm wrote:3)
Documentation page:
Compiler Option: -entry

Nice! You the man.

I am grateful you are able to take my (sometimes disconnected) statements and consolidate in to a cohesive documentation entry. Thank-you!
by coderJeff
Jul 24, 2021 16:47
Forum: Documentation
Topic: SELECT CASE error
Replies: 9
Views: 402

Re: SELECT CASE error

Changed in fbc-1.09, I tried to improve the error message: '' bad-stmt.bas sub bad_select() dim x as integer = 1 select case x print "oh no!" case 1 print "1" end select end sub /' FBC OUTPUT: bad-stmt.bas(6) error 62: Statement in between SELECT and first CASE, found 'print' in ...
by coderJeff
Jul 19, 2021 21:12
Forum: General
Topic: need particular prng
Replies: 38
Views: 1137

Re: need particular prng

Perhaps coderJeff can give an explanation for fbmath.bi's existence. The intent was that 'fbmath.bi' was going to offer some better PRNG's than what was built-in by fbc's randomize & rnd. - typically faster even with threads since the generator would not be dependent on any global state - so no...
by coderJeff
Jul 19, 2021 19:31
Forum: Documentation
Topic: Compiler Option: -entry
Replies: 8
Views: 151

Re: Compiler Option: -entry

What I want to say about '-entry name': - it's a low level kind of tweak that most users should not need to worry about - the addition is incomplete, but I think is worth adding now so that it's use can be explored and improved - my wish is that we get feedback from users on where how the feature sh...
by coderJeff
Jul 19, 2021 18:43
Forum: Documentation
Topic: Compiler Option: -entry
Replies: 8
Views: 151

Re: Compiler Option: -entry

'-entry name': New command-line to add in the 'Compilation' group or rather in the 'Linking' group ? It's a compilation option. Give me a few minutes and I'll make some examples to demonstrate internals, not necessarily related to SDL. Another description could be: '-entry name' specifies t...
by coderJeff
Jul 18, 2021 21:47
Forum: Documentation
Topic: Wiki improvements
Replies: 576
Views: 119634

Re: Wiki improvements

changed to 8192 KBytes for the freebsd platform? , for 32-bit? , for 64-bit? For the stack size in ThreadCreate I just noticed my units are wrong - should be 8192 BYTES minimum for FreeBSD. Anything less was causing threading to crash. On other platforms, the minimum is decided by the pthreads libr...
by coderJeff
Jul 18, 2021 5:06
Forum: Projects
Topic: FB Easy Parser(Update 2021.07.19)
Replies: 12
Views: 3197

Re: FB Easy Parser(Update 2021.07.13)

The project move to https://bitbucket.org/KuanHsu/fbeasyparser/src/master/ It might not be obvious how users should try this out. Here's a demo (with a few edits on your source). '' Get the source and build the DLL '' $ git clone https://bitbucket.org/KuanHsu/fbeasyparser '' $ cd fbeasyparser '' fo...
by coderJeff
Jul 12, 2021 19:43
Forum: Community Discussion
Topic: FreeBASIC 1.08.0 Release Discussion (June 2021)
Replies: 74
Views: 4246

Re: FreeBASIC 1.08.0 Release Discussion (June 2021)

I tried to move to FB 1.08.1 (gcc 9.3 x64) from 1.07.3 (gcc 5.2 x64), but after my library successfully compiled (compile time is another story...), on load i get "The procedure entry point "aaa" could not be located in the dynamic link library bbb.dll" errors. Note - library &q...
by coderJeff
Jul 11, 2021 19:43
Forum: Linux
Topic: protection mode data segment
Replies: 7
Views: 307

Re: protection mode data segment

On some systems, it may not be possible to specify additional flags which were not present when the mapping was first created. For example, an attempt to make a region of memory executable could fail if the initial protection flags were ‘PROT_READ | PROT_WRITE’. In general, the mprotect function ca...
by coderJeff
Jul 11, 2021 19:31
Forum: Community Discussion
Topic: FreeBASIC 1.08.0 Release Discussion (June 2021)
Replies: 74
Views: 4246

Re: FreeBASIC 1.08.0 Release Discussion (June 2021)

There's a zip here with (windos obvs) gfxlibs that are hardcoded to 96 is anybody wants to test if that works properly. https://www.airesoft.co.uk/files/temp/gfxlibs.zip Looks really good. Got the libs in the right place now. Works well for me on windows 7 and windows 10. Tested with fbc-1.08.1 and...

Go to advanced search