Search found 2267 matches

by coderJeff
Sep 18, 2020 2:57
Forum: Documentation
Topic: Basic-Macros in fbc 1.08
Replies: 24
Views: 892

Re: Basic-Macros in fbc 1.08

__fb_quote__ return the over-quoted text __fb_unquote__ returns the sub-quoted text __fb_arg_leftof__, __fb_arg_rightof, __fb_join__, return the initial left-text, initial right-text, initial joined-text I think that's good. Helps point out to the reader that something different is going on compare...
by coderJeff
Sep 18, 2020 2:51
Forum: Documentation
Topic: Wiki improvements
Replies: 483
Views: 92220

Re: Wiki improvements

Hi MrSwiss. Have you looked at freebasic run time library code? It's freely available. There's probably 700 or more 'fb_*' functions in the rtlib public API - what the fbc compiler depends on. Plus another 500+ functions that are 'directly' accessible that are used internally by the library only. Pl...
by coderJeff
Sep 18, 2020 2:08
Forum: Beginners
Topic: Output to file on disk in windows 10
Replies: 3
Views: 158

Re: Output to file on disk in windows 10

Hello Kees van Dongen.

Choose the "POST REPLY" button bottom left of page to respond.

The "Report Post" Button is for something else - you don't want that one.
by coderJeff
Sep 18, 2020 1:55
Forum: General
Topic: Data Compression
Replies: 53
Views: 1167

Re: Data Compression

Albert, your code compiles and it does ... something. Where's the decompressor !?! There's no proof to anyone, including yourself that the formula works. Same troubles as your codes in the Squares topic. A quick glance at the code, and I see that 'bits' is never saved and it is impossible to make th...
by coderJeff
Sep 17, 2020 3:42
Forum: General
Topic: Data Compression
Replies: 53
Views: 1167

Re: Data Compression

OK boys, looks like we are starting to recycle stuff. I do believe this topic is headed for the dust bin. It pretty much all the same things going on as the Squares topic, which had to be locked and Albert suspended a few times for over posting this topic. There's an old book I remember reading: &qu...
by coderJeff
Sep 17, 2020 3:20
Forum: Documentation
Topic: Basic-Macros in fbc 1.08
Replies: 24
Views: 892

Re: Basic-Macros in fbc 1.08

fxm, that's awesome! For my first try at the features, this is a very good first offering on the documentation. Thank-you so much. 1) FYI, as I've been working with these new macros, there are 2 terms I find myself using. ' text ' aka ' unquoted text ' which means to me regular source code / macro d...
by coderJeff
Sep 16, 2020 13:55
Forum: Documentation
Topic: Basic-Macros in fbc 1.08
Replies: 24
Views: 892

Re: Basic-Macros in fbc 1.08

It seems to me that by using "unique identifiers" in the second example, the [Scope ... End Scope] block becomes useless (unlike the first example where it is always mandatory), OK, that's fair. except if the user defines in the same scope an identifier of the form "LT_xxxx" bec...
by coderJeff
Sep 15, 2020 3:44
Forum: Documentation
Topic: Basic-Macros in fbc 1.08
Replies: 24
Views: 892

Re: Basic-Macros in fbc 1.08

A number of '__FB_UNIQUEID_POP__(stack_id)' greater than the number of '__FB_UNIQUEID_PUSH__(stack_id)' induces a compiler runtime error. Thanks, an easy fix, I just haven't pushed it to fbc/master yet. I kind of have __FB_EVAL__ working but it's too buggy -- the error recovery is bad. When it work...
by coderJeff
Sep 15, 2020 3:13
Forum: Documentation
Topic: Basic-Macros in fbc 1.08
Replies: 24
Views: 892

Re: Basic-Macros in fbc 1.08

if a macro call without parentheses are allowed we will run in more complex problems in future ! Yes. As fxm mentions we tried to allow it on all macros & defines and it did cause problems. So, only if '?' is used can the macro be used without parentheses. Maybe it will be replaced with some ot...
by coderJeff
Sep 15, 2020 2:51
Forum: Documentation
Topic: Basic-Macros in fbc 1.08
Replies: 24
Views: 892

Re: Basic-Macros in fbc 1.08

fxm wrote:About updating the documentation to include these "basic macros":
- I was thinking of just adding them to the already existing 'Predefined Symbols' list / 'Intrinsic Definitions' list.
...
What do you think?


Sounds good to me.
by coderJeff
Sep 12, 2020 20:53
Forum: Documentation
Topic: Basic-Macros in fbc 1.08
Replies: 24
Views: 892

Re: Basic-Macros in fbc 1.08

The purpose is to produce a unique fb symbol name that can be recalled later. __FB_UNIQUEID_PUSH__(stack-id) pushes a new unique identifier on to a stack identified by 'stack-id' __FB_UNIQUEID__(stack-id) gets the identifier at the top of stack identified by 'stack-id' __FB_UNIQUEID_...
by coderJeff
Sep 12, 2020 16:03
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 201
Views: 16451

Re: FreeBASIC 1.08 Development

I think I found the discussion is here: Array Descriptor (Split from WIki Improvements) When bugs get assigned a ticket number I track it by that number. If I did have some test cases prepared, it's lost somewhere on my hard drive. If I understand correctly: this fix to ERASE whould now be rather tr...
by coderJeff
Sep 12, 2020 13:42
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 201
Views: 16451

Re: FreeBASIC 1.08 Development

Speaking of arrays...
There was something that had to be fixed with ERASE and arrays passed to procedures. I can't find the test case, and I don't think it was logged as a bug report. This was one of the reasons we changed the internal array descriptor, but I don't think this change was ever made.
by coderJeff
Sep 11, 2020 18:57
Forum: General
Topic: Data Compression
Replies: 53
Views: 1167

Re: Data Compression

I really had hoped you would take time to look closely (like microscope close) at how things work, before leaping ahead. I fear that this will turn out same way as Squares did. I think you should just forget about rnd() and compression, and really focus on understanding how the stuff works. All the ...
by coderJeff
Sep 11, 2020 11:26
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 201
Views: 16451

Re: FreeBASIC 1.08 Development

oops, I celebrated too early. I forgot to merge the changes for everyone else. The latest changes for suffix are merged in now.

Go to advanced search