Search found 1817 matches

by coderJeff
Dec 18, 2018 4:16
Forum: Community Discussion
Topic: Nominations for Forum Moderators
Replies: 44
Views: 1999

Re: Nominations for Forum Moderators

Was I the only one to accept within the deadline? Yes, thank-you. If there is nobody else I'll help Imortis. Are you really volunteering/accepting? Any doubts?. My hope is that you actually want the role, and would get something out it. --- I had set out a deadline (yesterday), so we can get to the...
by coderJeff
Dec 15, 2018 17:36
Forum: Beginners
Topic: Can we have __FB_WIN32__ and __FB_64BIT__ at the same time? [solved]
Replies: 14
Views: 385

Re: Can we have __FB_WIN32__ and __FB_64BIT__ at the same time? [solved]

Yeah, it's along the same lines as "emulator" vs "non-emulator, compatibility layer" argument jj2007 expresses, the average fbc user simply does not care. So, yeah, sure agreed. I suggest you research WinRT vs Win32 API (which has been adapted to work with 64-bit), see what kind ...
by coderJeff
Dec 15, 2018 16:19
Forum: Documentation
Topic: Union
Replies: 63
Views: 1395

Re: Union

Pay careful attention to the pointer math: @variable + offset is like saying cptr( typeof(variable) ptr, cptr( ubyte ptr, @variable ) + offset * sizeof( typeof(variable) ) ) Adding or subtracting a scalar (number) to a typed pointer is in multiples of the poin...
by coderJeff
Dec 15, 2018 15:53
Forum: Beginners
Topic: Can we have __FB_WIN32__ and __FB_64BIT__ at the same time? [solved]
Replies: 14
Views: 385

Re: Can we have __FB_WIN32__ and __FB_64BIT__ at the same time?

However, for the WIN32 flag, can you confirm that it is equivalent to Windows OS, and unrelated with the number of bit of the OS. @admin, Can you confirm this statement (as I think so). (the define name has not been modified so as not to break existing code). Thus, I will be able to update the docu...
by coderJeff
Dec 09, 2018 18:45
Forum: Community Discussion
Topic: Nominations for Forum Moderators
Replies: 44
Views: 1999

Re: Nominations for Forum Moderators

Thank you everyone for participating in the nominations. It's been about 2 weeks since the nomination thread was started and I think it will be fair to move on to the next steps. We have 22 members, making 41 nominations, resulting in 12 nominees. There are 6 second nominees, who may choose to accep...
by coderJeff
Nov 27, 2018 13:39
Forum: Community Discussion
Topic: Dim Byref syntax
Replies: 134
Views: 11700

Re: Dim Byref syntax

@Munair, in your example, add a constructor/destructor to TFolderItem() with some print statements to see: ref(f) = ref(TFolderItem()) creates a temporary instance only for the expression. fbc doesn't know that a reference is being bound. But, if it did, and it was persistent...
by coderJeff
Nov 27, 2018 3:39
Forum: Community Discussion
Topic: Dim Byref syntax
Replies: 134
Views: 11700

Re: Dim Byref syntax

I think the main idea of references is that they always actually refer to something valid. I think references can be reassigned; it's just the assignment syntax that needs to clear; either assigning the value or rebinding the reference. Here's a different approach: type NothingObject extends object ...
by coderJeff
Nov 26, 2018 17:56
Forum: Community Discussion
Topic: New website
Replies: 45
Views: 4869

Re: New website

couning_pine, the mono spaced text is super handy. Thank-you!
by coderJeff
Nov 26, 2018 17:48
Forum: Community Discussion
Topic: variadic functions and argument lists in fbc
Replies: 1
Views: 130

Re: variadic functions and argument lists in fbc

This update will deal with C like variadic paramaters only. In this old thread: https://www.freebasic.net/forum/viewtopic.php?p=242057#p242057 I would separate Basic level variadic parameters from C level variadic parameters, and treat that as separate constructs. And maybe not allow defining C leve...
by coderJeff
Nov 26, 2018 17:35
Forum: Community Discussion
Topic: variadic functions and argument lists in fbc
Replies: 1
Views: 130

variadic functions and argument lists in fbc

fbc has a few macros for working with variadic functions: va_first, va_next(), va_arg(), that worked using a pointer to the argument stack. These macros don't work on all targets (like 64-bit) because arguments can be passed to procedures in cpu registers. sf.net bug https://sourceforge.net/p/fbc/bu...
by coderJeff
Nov 26, 2018 17:31
Forum: Community Discussion
Topic: Nominations for Forum Moderators
Replies: 44
Views: 1999

Re: Nominations for Forum Moderators

@dodicat, you are a keen observer to scrutinize that there is no opportunity in this process to formally endorse or protest a candidate or potential candidate though general discussion or debate. We think this process will be fair, and currently the positions are open to anyone. I hope that we have ...
by coderJeff
Nov 25, 2018 19:21
Forum: Community Discussion
Topic: Nominations for Forum Moderators
Replies: 44
Views: 1999

Nominations for Forum Moderators

Nominations for Forum Moderators The FreeBASIC development team is looking for two upstanding community members to become forum moderators here in the FreeBASIC Forum. If you would like to help our community by being a forum moderator, or if you know someone that would be well suited for the modera...
by coderJeff
Nov 14, 2018 10:55
Forum: Community Discussion
Topic: Forum Moderators
Replies: 19
Views: 755

Re: Forum Moderators

Deltarho, what meaning your resignation has, is entirely up to you. You are still posting. MrSwss, you upset people and I get complaints. You two have not reached any kind of understanding. I if catch you two fighting, I suspend both your accounts. The future moderators, whoever they are, can show e...
by coderJeff
Nov 13, 2018 14:13
Forum: Community Discussion
Topic: Forum Moderators
Replies: 19
Views: 755

Re: Forum Moderators

MrSwiss & deltarho, unless you are both willing to come to some kind of understanding or compromise, you two should probably refrain from interacting. Just sayin... ---- @Topic: Yeah, off-topic content is one aspect of moderation. But I think we really need to look at the problem with a wider vi...
by coderJeff
Nov 12, 2018 1:12
Forum: General
Topic: Free Basic Compilers Version 1.06.0 (08-26-2018) seem broken
Replies: 106
Views: 4126

Re: Free Basic Compilers Version 1.06.0 (08-26-2018) seem broken

The bugs mentioned in the last few posts should be fixed, and fixes are merged in to master. - lbound & ubound work with const arrays - non-const arrays arguments can be passed to const array parameters, (bug fix #823) - the unnecessary const warning on array indexes in const UDT's is suppressed...

Go to advanced search