Search found 1962 matches

by coderJeff
Jul 21, 2019 11:28
Forum: Documentation
Topic: Hello fxm :-) => for updating the ASM documentation page on wiki
Replies: 15
Views: 838

Re: Hello fxm :-) => for updating the ASM documentation page on wiki

Joshy, thanks for the notes. I think proper places would be: Calling Conventions stdcall cdecl pascal asm Looks like all these pages needs updates. I started working on adding "thiscall" calling convention to fbc a few weeks back (another side quest adventure, hopefully I find my way back ...
by coderJeff
Jul 20, 2019 20:08
Forum: General
Topic: Squares
Replies: 6745
Views: 384504

Re: Squares

albert wrote:For my "Time Rhyme" program:


So, what are you doing? Just testing our limits? Need a time-out away from fb.net? I trust Imortis to make good choices even had we not discussed what to do with this nonsense first. Please be mindful of our readers and keep it clean. Thanks.
by coderJeff
Jul 20, 2019 20:02
Forum: General
Topic: #error error? solved
Replies: 19
Views: 261

Re: #error error?

OK, done.
#906 #error on line 2 not reported

I like to have a ticket to refer to either on sourceforge.net or github.com to record in the commit messages, or changelog.txt.
by coderJeff
Jul 20, 2019 19:35
Forum: General
Topic: #error error? solved
Replies: 19
Views: 261

Re: #error error?

Similarly, x = asdf #error message 2 #error message 3 fbc's errreportex() function gets called, but at this line: https://github.com/freebasic/fbc/blob/ae689138b7c09f15e83faa27bc1ddc63606d1cd7/src/compiler/error.bas#L595 the state information for parser.stmt.cnt is not yet incremented (to 1) even th...
by coderJeff
Jul 20, 2019 19:20
Forum: General
Topic: #error error? solved
Replies: 19
Views: 261

Re: #error error?

No, linux too, but specifically, on line 2:

Code: Select all

jeff@ubuntu:~/fb/misc$ fbc error.bas -maxerr 2
error.bas(1) error: message #1
error.bas(3) error: message #3
error.bas(3) error 133: Too many errors, exiting
jeff@ubuntu:~/fb/misc$

What a weird bug.
by coderJeff
Jul 20, 2019 18:54
Forum: Linux
Topic: fbc_1.06.0-1_amd64.deb
Replies: 8
Views: 724

Re: fbc_1.06.0-1_amd64.deb

I've never created .deb archive so I don't know what can be done or not. And it's been a while since I tested `./install.sh`. Documentation and examples could be separate packages I suppose. Usually, I install fbc after compiling it, using `make install`, though I do notice that fbc.1 doesn't get co...
by coderJeff
Jul 20, 2019 18:33
Forum: General
Topic: #error error? solved
Replies: 19
Views: 261

Re: #error error?

See Compiler Option: -maxerr Example: fbc error.bas -maxerr 1 #error message 1 #error message 2 #error message 3 #error message 4 #error message 5 Output: E:\fb\misc>fbc error.bas -maxerr 1 error.bas(1) error: message 1 error.bas(1) error 133: Too many errors, exiting Appears to be a...
by coderJeff
Jul 14, 2019 20:06
Forum: Community Discussion
Topic: New array features
Replies: 106
Views: 5236

Re: New array features

though storing the data type as a string is not really all that efficient so we would probably look to have some kind of mapping between an integer type and the represented data type. Old VB had the vartype(variable) function that returned an integer. Which is basically what array.bi:a_ext_...
by coderJeff
Jul 14, 2019 19:24
Forum: Community Discussion
Topic: New array features
Replies: 106
Views: 5236

Re: New array features

JK, yes please, break it down in to managble chunks. You have creative ways of solving your challenges. It all might be related to your array feature, but I can see several components that could be solved independantly of each other. Thanks. Maybe have a look at basic-macro branch which is a branch ...
by coderJeff
Jul 14, 2019 16:38
Forum: Community Discussion
Topic: New array features
Replies: 106
Views: 5236

Re: New array features

This looks like that changes are stacking up. This will go better for everyone if the changes are small and incremental. I only glanced at the code and noticed that you are adding: - signal handlers and magic numbers getting the the array descriptor info - new parser keyword REDEF and operators #?#,...
by coderJeff
Jul 14, 2019 16:28
Forum: Linux
Topic: fbc_1.06.0-1_amd64.deb
Replies: 8
Views: 724

Re: fbc_1.06.0-1_amd64.deb

Coolman, could you please look at bug report on sf.net #905 Deb installer's documentation problems.

Thanks.
by coderJeff
Jul 13, 2019 23:06
Forum: Community Discussion
Topic: version -v
Replies: 2
Views: 263

Re: version -v

Thanks david. That's pretty good start. Even examples of the output would be helpful too. So far, I've only added the skeleton code (merged in to master as part of the new debug options), so we have a place to insert new information. 'fbc' 'fbc [-]-help' If there are no files to buil...
by coderJeff
Jul 13, 2019 22:46
Forum: Community Discussion
Topic: How to do -g but without assertions?
Replies: 21
Views: 2195

Re: How to do -g but without assertions?

New debug options merged in to master (from pull request #154). New Pages: Compiler Option: -earray Compiler Option: -eassert Compiler Option: -edebug Compiler Option: -edebuginfo Compiler Option: -elocation Compiler Option: -enullptr Updated Pages: Compiler Options Compiler Option: -g Compiler Opti...
by coderJeff
Jul 13, 2019 20:38
Forum: Community Discussion
Topic: Extending Wstring and Zstring with UDTs
Replies: 75
Views: 3904

Re: Extending Wstring and Zstring with UDTs

fxm wrote:Can you completely remove the page POINTER (KeyPgPointer), now emptied and orphaned?

Yes, done.
by coderJeff
Jul 01, 2019 16:32
Forum: Community Discussion
Topic: Extending Wstring and Zstring with UDTs
Replies: 75
Views: 3904

Re: Extending Wstring and Zstring with UDTs

Have you both read my post carefully? I have, I think. As I mentioned, zstring ptr can behave like a string or like an array of bytes depending on usage and context. Dim As Zstring * 10 z = "FreeBASIC" Dim As Zstring Ptr pz = @z Dim As String s = "FreeBASIC" Dim As String Ptr ps...

Go to advanced search