Search found 868 matches

by paul doe
Jul 05, 2019 20:00
Forum: Libraries
Topic: EZ-DRAW 1.2 graphic static lib win/linux
Replies: 11
Views: 404

Re: EZ-DRAW 1.2 graphic static lib win/linux

Mmm, might be quite useful, indeed. Thanks for sharing.
by paul doe
Jun 29, 2019 13:18
Forum: Beginners
Topic: Recursion in FreeBASIC
Replies: 10
Views: 593

Re: Recursion in FreeBASIC

best and easy explanation and an example using the Recursive/Recursion in FreeBASIC.? strive to study it but still don't get it. my understanding about this is that you can call itself like the declare a sub procedure inside? Recursiveness is a fundamental technique, quite easy to use (but not so e...
by paul doe
May 31, 2019 11:57
Forum: Community Discussion
Topic: New array features
Replies: 106
Views: 4871

Re: New array features

... The more i think about it, the more i tend towards a RTL-function, even if all the work i put into making VARPTR work for arrays was in vain. ... This goes precisely in the direction of a public API that exposes some compiler internals, which is an approach that I fully agree with. While develo...
by paul doe
May 20, 2019 14:02
Forum: General
Topic: Programming fonts
Replies: 8
Views: 389

Re: Programming fonts

... What do you do when programming of an evening? I have been using f.lux for some years now. Win10 has 'Night light settings' but it has some way to go to match f.lux. f.lux has a 'Reduce Eyestrain' setting with a colour temperature of about 3450K. If I disable f.lux I nearly get blown out of my ...
by paul doe
May 20, 2019 2:25
Forum: General
Topic: Programming fonts
Replies: 8
Views: 389

Re: Programming fonts

For everyday work, my absolute preference goes to Fira Mono , hands down. It is very readable, has pretty distinctive glyphs for operators and has a very nice spacing (especially vertical). The most readable coding font I could find. I suffer from severe eye strain so this is pretty important for me...
by paul doe
May 19, 2019 12:33
Forum: Community Discussion
Topic: New array features
Replies: 106
Views: 4871

Re: New array features

@paul doe, as already mentioned above there is a bug in the interface, it works for one-dimensional arrays using the following syntax: ... Fair enough. But I take it that you're well aware that the interface should be fully orthogonal (we already have a lot of 'quirk' statements inherited from the ...
by paul doe
May 19, 2019 12:23
Forum: Community Discussion
Topic: New array features
Replies: 106
Views: 4871

Re: New array features

Tourist Trap wrote:...
Use namespace please also, for the same reason. But you probably noticed that defines/macro can not be isolated in namespaces - unless I missed something of course.

#defines respect namespaces, #macros don't (they're defined in the global namespace).
by paul doe
May 18, 2019 15:34
Forum: Documentation
Topic: Wiki improvements
Replies: 336
Views: 25811

Re: Wiki improvements

After the vptr / vtbl (vtable) usage for abstract/virtual procedures, why not another article about the RunTime Type Information (RTTI) provided by the built-in OBJECT: 19. How using RTTI from FB built-in OBJECT to extract Typename and those of all Bases of an instance (article of 1 post) It would ...
by paul doe
May 18, 2019 15:13
Forum: Community Discussion
Topic: New array features
Replies: 106
Views: 4871

Re: New array features

@Juergen: Unless I'm missing something, it doesn't work: '#include once "ustring.bi" #INCLUDE ONCE "/crt/string.bi" #INCLUDE ONCE "/crt/stdlib.bi" #pragma once '*********************************************************************************************** ' Copyright (...
by paul doe
May 18, 2019 2:10
Forum: Community Discussion
Topic: New array features
Replies: 106
Views: 4871

Re: New array features

Then, paul doe, what are you suggesting? ... I already made my suggestions a few posts before. I won't repeat them. With your quote, perhaps I don't understand part what is suggested as a difference. ... Read the original proposal by Juergen, then. @Juergen: what I meant to say is this: if you alre...
by paul doe
May 18, 2019 0:15
Forum: Community Discussion
Topic: New array features
Replies: 106
Views: 4871

Re: New array features

... @all, personally i would prefer option #1 too, because then everyone can inspect the code and can take it as a start for own special features. Just combine the provided basic features or write own specialized code using the all the basic information supplied by such an include file. If it will ...
by paul doe
May 14, 2019 3:26
Forum: Community Discussion
Topic: New array features
Replies: 106
Views: 4871

Re: New array features

... Before making a new pull request i would like to know, what would be the preferred/best way of implementing the new array features (sort, insert, delete). I see three ways to go: 1.) as is - add it as include file (definitions and run time code in array.bi). The features are available only, if ...
by paul doe
May 13, 2019 2:33
Forum: General
Topic: Need faster Exponentiate
Replies: 32
Views: 1419

Re: Need faster Exponentiate

Provoni wrote:I saw this on YouTube a while ago. Of course I also played Wolfenstein 3D, Doom 1 & 2, Duke3D, Quake 1, 2 & 3 back in the days. :-)

Yep, those were the days (I remember how we had to make our own wiring to play deathmatch in DooM haha). Doom II deathmatch just doesn't get old ;)
by paul doe
May 12, 2019 11:11
Forum: General
Topic: Need faster Exponentiate
Replies: 32
Views: 1419

Re: Need faster Exponentiate

Provoni wrote:Thanks paul doe, it is very fast but the approximation is not very good though it may be good enough for my needs.

Indeed, the error is huge (and it'll only get worse the more you use them). Ahh, these kind of codes brings back so many fond memories... ;)
by paul doe
May 11, 2019 20:57
Forum: General
Topic: Need faster Exponentiate
Replies: 32
Views: 1419

Re: Need faster Exponentiate

This is the result of the C++ version:

Code: Select all

-1375731712
--------------------------------
Process exited after 0.07882 seconds with return value 0
Presione una tecla para continuar . . .

Seems fine to me (if even more off than the final approximated version).

Go to advanced search