Search found 149 matches

by Juergen Kuehlwein
Jun 16, 2019 19:34
Forum: Community Discussion
Topic: Extending Wstring and Zstring with UDTs
Replies: 25
Views: 1282

Re: Extending Wstring and Zstring with UDTs

Jeff, many thanks for your efforts! But as you know too, at best we are only halfway there... As a next logical step, we should have a default dynamic (zero terminated) WSTRING type like the one i added to my pull request. Are there changes needed other than we already discussed? I would propose to ...
by Juergen Kuehlwein
Jun 15, 2019 12:24
Forum: Community Discussion
Topic: @fxm, detecting fixed size arrays vs. dynamic arrays
Replies: 3
Views: 182

Re: @fxm, detecting fixed size arrays vs. dynamic arrays

I ran some tests with combinations of old and new code and binaries (e.g. a .dll created with V1.05 and an .exe created with the changed compiler version and vice versa). So far i couldn´t find any problems. This a proposal, a demonstration of how it could be done without breaking compatibility betw...
by Juergen Kuehlwein
Jun 15, 2019 12:14
Forum: Community Discussion
Topic: New array features
Replies: 82
Views: 3525

Re: New array features

Next version is here for testing. I moved all the new stuff (Windows executables, array.bi, test files) into the "new" folder (maybe a better choice than "bin"). This version can detect fixed size arrays and is compatible with old code and binaries. According to my tests old bina...
by Juergen Kuehlwein
Jun 13, 2019 16:36
Forum: Community Discussion
Topic: @fxm, detecting fixed size arrays vs. dynamic arrays
Replies: 3
Views: 182

Re: @fxm, detecting fixed size arrays vs. dynamic arrays

fxm, The advantage of my solution is that this new information is always in the same place relative to the descriptor pointer (at "address - 1"). - granted, in my case it needs a simple multiplication to get the offest. I think the difference between the examples you gave and the current s...
by Juergen Kuehlwein
Jun 13, 2019 10:40
Forum: Community Discussion
Topic: @fxm, detecting fixed size arrays vs. dynamic arrays
Replies: 3
Views: 182

@fxm, detecting fixed size arrays vs. dynamic arrays

Hi fxm, i refer to this post Maybe a cookie (var/fix length array flag) could be stored just before the descriptor structure: - a "hidden" Integer at address = @Cptr(Integer Ptr, @descriptor)[-1] This is better than my proposal."Old" code (e.g. a dll) would definitely get into tr...
by Juergen Kuehlwein
Jun 12, 2019 13:41
Forum: Community Discussion
Topic: New array features
Replies: 82
Views: 3525

Re: New array features

Next version is here for testing.

This commit includes all executables (compiler + RTL 32 and 64 bit) and shows a possible front end (array syntax). See array.bi and test files for more.

As always, comments, critics, bug reports and ideas for improvement are welcome!

JK
by Juergen Kuehlwein
Jun 10, 2019 10:32
Forum: Documentation
Topic: Wiki improvements
Replies: 335
Views: 23674

Re: Wiki improvements

Don´t worry Jeff, it´s just thinking about and discussing concepts. Feel free to move this topic and corresponding posts elsewhere, because it´s not really about wiki improvments Maybe a cookie (var/fix length array flag) could be stored just before the descriptor structure: - a "hidden" I...
by Juergen Kuehlwein
Jun 09, 2019 18:02
Forum: Documentation
Topic: Wiki improvements
Replies: 335
Views: 23674

Re: Wiki improvements

Array descriptor size change makes this a full break if the user lib uses array descriptors I think the beauty of my proposal is - the size doesn´t change! If we come across an "old" descriptor, we will have no other problem than we have right now (we just can´t tell), but it doesn´t brea...
by Juergen Kuehlwein
Jun 09, 2019 16:25
Forum: Documentation
Topic: Wiki improvements
Replies: 335
Views: 23674

Re: Wiki improvements

coderJeff wrote: It can be fixed if we are willing to break binary compatibility, by changing the array descriptor to track if memory should be freed or not. Can be tricky because fbc itself uses arrays. If we do this though, it can clean up some dead code out of the rtlib that's only been kept for...
by Juergen Kuehlwein
Jun 09, 2019 15:34
Forum: Documentation
Topic: Compiler option: -w
Replies: 5
Views: 156

Re: Compiler option: -w

Thanks, i already had it, but i made a mistake linking it to my IDE. So the older one was used instead of the new one, and i didn´t even notice it - my bad.


JK
by Juergen Kuehlwein
Jun 09, 2019 11:01
Forum: Documentation
Topic: Compiler option: -w
Replies: 5
Views: 156

Re: Compiler option: -w

Obviously i have an outdated offline version (.chm) of the manual. Sorry for bothering you :-(


JK
by Juergen Kuehlwein
Jun 09, 2019 8:28
Forum: Projects
Topic: FreeBASIC IDE with enhanced debugging and project features
Replies: 44
Views: 5775

Re: FreeBASIC IDE with enhanced debugging and project features

Sorry for the delay, i somehow missed your question. You may use the -i ... command line switch, or (this is a feature of the IDE) #INCPATH ... in code, which does the same. There is a quite comprehensive help file: Help Menu/JK-IDE Help, please read about FreeBASIC specific things in the FreeBASIC ...
by Juergen Kuehlwein
Jun 08, 2019 21:10
Forum: Community Discussion
Topic: Extending Wstring and Zstring with UDTs
Replies: 25
Views: 1282

Re: Extending Wstring and Zstring with UDTs

Jeff,

i absolutely agree!

JK
by Juergen Kuehlwein
Jun 08, 2019 13:33
Forum: Documentation
Topic: Compiler option: -w
Replies: 5
Views: 156

Compiler option: -w

There is a bug in this page

...
all
Equivalent to specifying a level of zero (0).
...


This is not true, "all" specifies a level of -1.


JK

Go to advanced search