Search found 284 matches

by Juergen Kuehlwein
Nov 17, 2019 21:22
Forum: Community Discussion
Topic: Pull Requests
Replies: 27
Views: 1513

Re: Pull Requests

Thanks, will do for future branches.
by Juergen Kuehlwein
Nov 17, 2019 18:18
Forum: Community Discussion
Topic: Pull Requests
Replies: 27
Views: 1513

Pull Requests

Jeff, i need your help! As you have noticed, i have written a lot of code and made several pull requests recently. Don´t worry, i don´t expect you to comment and review all of this right now. You requested for smaller PRs, i know, but ultimately i must be able to test all new things together. More t...
by Juergen Kuehlwein
Nov 17, 2019 17:32
Forum: Community Discussion
Topic: FreeBASIC Namespace Project
Replies: 72
Views: 7085

Re: FreeBASIC Namespace Project

Well, to clarify a few things, i´m not against using namespaces - not at all. Namespaces are a great thing and i know the difference between "scope" and "namespace". And i´m used to deal with projects of several hundred files and more (even without the possibilty of using namespa...
by Juergen Kuehlwein
Nov 16, 2019 17:52
Forum: Documentation
Topic: Wiki improvements
Replies: 398
Views: 65976

Re: Wiki improvements

Yes, make an extra page for the decriptor description :-).

And ... thanks for your efforts getting and keeping the help files up-to date!
by Juergen Kuehlwein
Nov 16, 2019 12:48
Forum: Community Discussion
Topic: How to add new features? (syntax, user API)
Replies: 53
Views: 2775

Re: How to add new features? (syntax, user API)

I changed operator actions as follows for a more consistent syntax: these are the already availble operators: # = stringize ## = concatenate these are new: ### = stringize (uppercase) #&# = stringize + concatenate (remove spaces in a space separated argument). "&" stands for concat...
by Juergen Kuehlwein
Nov 15, 2019 14:27
Forum: Community Discussion
Topic: How to add new features? (syntax, user API)
Replies: 53
Views: 2775

Re: How to add new features? (syntax, user API)

It´s amazing, what you can do with macros, isn´t it! Thanks for this test piece, runs without problems - the added features don´t interfere with the existing ones. I know, you have done a lot with macros. Feel free to test your macros with the new compiler version (nothing official, just for testing...
by Juergen Kuehlwein
Nov 14, 2019 22:27
Forum: Community Discussion
Topic: How to add new features? (syntax, user API)
Replies: 53
Views: 2775

Re: How to add new features? (syntax, user API)

Restored the macro without brackets feature - should work now. There is a new upload in my Google drive: https://drive.google.com/open?id=1e7oP1 ... RHp0G_HQQm.
by Juergen Kuehlwein
Nov 12, 2019 21:59
Forum: Community Discussion
Topic: How to add new features? (syntax, user API)
Replies: 53
Views: 2775

Re: How to add new features? (syntax, user API)

The new feature ("#%" remove spaces in an argument, i.e. concatenate space separated parts) is in my Google drive: https://drive.google.com/open?id=1e7oP1msY4P1-6yRGGZIW-HRHp0G_HQQm. The folder "Macro" contains executables for win32/64, i removed the macro without brackets featur...
by Juergen Kuehlwein
Nov 12, 2019 17:33
Forum: Community Discussion
Topic: How to add new features? (syntax, user API)
Replies: 53
Views: 2775

Re: How to add new features? (syntax, user API)

I see! Yes, i can do that.
by Juergen Kuehlwein
Nov 11, 2019 16:41
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 119
Views: 7636

Re: FreeBASIC 1.08 Development

Sigh... i repeat what i already said above: why is this so hard to understand, that only one single line and nothing else is required to retrieve all information (=all in one) in an array´s descriptor? You don´t need a separate overloaded function for each type of array in this case. Dim As FBC.FBAR...
by Juergen Kuehlwein
Nov 11, 2019 9:53
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 119
Views: 7636

Re: FreeBASIC 1.08 Development

Why is this so hard to understand? - MrSwiss posted code, which indeed works. It makes use of overloaded procedures, which are setup by default for the default variable type. For UDTs you must setup an appropriate function, before you can use it. A macro is supplied for this task. So far so good. - ...
by Juergen Kuehlwein
Nov 10, 2019 21:00
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 119
Views: 7636

Re: FreeBASIC 1.08 Development

Yes! The point is, you don´t need overloaded functions and a macro wrapping them.
by Juergen Kuehlwein
Nov 10, 2019 19:29
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 119
Views: 7636

Re: FreeBASIC 1.08 Development

@MrSwiss You don´t need a macro at all in this case, you can just code: #Include once "fbc-int/array.bi" using fbc type my_udt x as long y as long z as long end type dim u(1 to 2) as my_udt Dim As FBARRAY Ptr pa = ArrayDescriptorPtr(u()) print "index ptr",, hex(pa->index_ptr) pri...
by Juergen Kuehlwein
Nov 10, 2019 14:59
Forum: Community Discussion
Topic: FreeBASIC Namespace Project
Replies: 72
Views: 7085

Re: FreeBASIC Namespace Project

Jeff, for some types of programs, the many symbols (keywords) defined by fbc by default just get in the way. For example, writing a Win API/SDK program, a framework, or a graphics/gui tool kit. i don´t want to be contra-productive, but coming from PB, where we don´t have namespaces but (i didn´t cou...
by Juergen Kuehlwein
Nov 09, 2019 19:35
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 119
Views: 7636

Re: FreeBASIC 1.08 Development

There is a similar thing in my PR for arrays: ' i = array(specifier, array), returns requested value as integer, any ptr or boolean '*********************************************************************************************** ' desc = 60 'get descriptor information (only for internal use) ' data ...

Go to advanced search