Search found 49 matches
- May 26, 2019 21:29
- Forum: General
- Topic: Need faster Exponentiate
- Replies: 32
- Views: 7807
Re: Need faster Exponentiate
As said, it gets faster with decreasing values in i_0_11. With: - i_0_11=5 instead of the default 6, you'll save one iteration - and the error will be doubled to about +-2% - i_0_11=4 instead of the default 6, you'll save two iterations - and the error will be about +-4% Would like to hear, how it p...
- May 25, 2019 23:34
- Forum: General
- Topic: Need faster Exponentiate
- Replies: 32
- Views: 7807
Re: Need faster Exponentiate
FWIW, below is a routine which allows to adjust precision (the amount of iterations)... This can be done via the optional i_0_11 param, which defaults to 6 - and then ensures a max-error of +-1% (over the whole range of exponents). With that default-value of i_0_11 = 6 (+-1% error), the routine is a...
- Nov 18, 2018 1:29
- Forum: General
- Topic: porting plot library to FB?
- Replies: 21
- Views: 3185
Re: porting plot library to FB?
If there's porting to be done, why not from a basic-dialect... Such Charting-stuff becomes nicely managable, when one uses Classes - as in the FuncPlotter VBScript-example included here: http://vbRichClient.com/Downloads/ScriptGUI5.zip ... the Porting would be needed only for the 3 Classes: - cPlot ...
- Nov 13, 2018 3:08
- Forum: Community Discussion
- Topic: Speed of FreeBasic
- Replies: 62
- Views: 17578
Re: Speed of FreeBasic
Which part of the very incomplete list below does your speed test cover? Since no further reference was given - the last one discussed obviously... (which also seems to be the only one, which made "demands" regarding the "how to go about it", which is kinda uncommon for speed-te...
- Nov 12, 2018 18:00
- Forum: Community Discussion
- Topic: Speed of FreeBasic
- Replies: 62
- Views: 17578
Re: Speed of FreeBasic
A bit late to the party - just my $0.02 regarding the "speed-test"... IMO SpeedTests should be described only with regards to their Input-values and the expected Result(s)... leaving the implementation-language free to choose anything suitable, to produce the result (either elegantly, spee...
- May 15, 2017 2:30
- Forum: Beginners
- Topic: Help Translating a draw strings routine to FB
- Replies: 6
- Views: 1692
Re: Help Translating a draw strings routine to FB
> "FreeBASIC has draw which is similar." ... I can remember my system better when I make it my own. I had a few ideas for "improvements", in my mind at least. Since FB does have similar, has any other worked on similar project with aims I mentioned in OP? FWIW, I've implemented ...
- Feb 05, 2017 22:40
- Forum: General
- Topic: Dir descending
- Replies: 9
- Views: 3047
Re: Dir descending
... I don't want to reinvent the wheel when somewhere there is a function (library) which does what I need (and maybe more). Of course there are libs out there, which can do that more easily, e.g. like that (though it's VBCode): Dim DirList, i Set DirList = New_c.FSO.GetDirList("C:\temp",...
- Feb 05, 2017 1:36
- Forum: Projects
- Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
- Replies: 987
- Views: 436844
Re: WinFBE FreeBASIC Editor for Windows
Next problem was trying to get the file to compile. The editor creates a batch file... Unfortunately, the Windows cmd.exe program does not play well with unicode batch files. An alternative to batch-files (with regards to Unicode-support) might be to write the UTF8-content into *.vbs-Files instead ...
- Feb 01, 2017 10:57
- Forum: General
- Topic: GUI design
- Replies: 47
- Views: 10821
Re: GUI design
I haven't lost interest - I am still following the thread ... I know I'm a bit late... so hopefully that's still the case... ;) Although my programming ventures aren't concentrated on GUI's at the moment until a good solution can be found, I am still researching the possibilities of porting LBC (La...
- Jan 30, 2017 9:59
- Forum: Community Discussion
- Topic: 2017-01-28 lost posts
- Replies: 13
- Views: 3406
Re: 2017-01-28 lost posts
It works for me now too since a few hours, but it took quite long for the change to propagate. Maybe some additional local caching is causing trouble? For example Windows and Firefox both do cache DNS responses. Since a few hours, now also the www-prefixed domain does resolve correctly for me. Olaf
- Jan 29, 2017 23:59
- Forum: Community Discussion
- Topic: 2017-01-28 lost posts
- Replies: 13
- Views: 3406
Re: 2017-01-28 lost posts
My prayer was effective! Everything now comes back well on my professional laptop. On my end, the DNS (already 24hours ago) resolved the new IP correctly for: freebasic.net but e.g.: www.freebasic.net *still* points to the old IP (and there's a whole lot of links, which use the www.-prefix). Not su...
- Dec 25, 2016 0:17
- Forum: General
- Topic: GUI design
- Replies: 47
- Views: 10821
Re: GUI design
At the moment there are only numbers, which could mean absolutely anything. I could easily say, I want a window at 1000 1000, 2000 high and 2000 wide. But how on earth do I know how big that is physically? Sorry, but since you mentioned that you wrote a lot of games (with special sounds), I thought...
- Dec 24, 2016 11:29
- Forum: General
- Topic: GUI design
- Replies: 47
- Views: 10821
Re: GUI design
Hi there Olaf, The problem I will have there is, A, knowing what the numbers represent. In the Windows API they represent pixels. In VB6 they can represent either pixels, inches, centimetres etc. That's one reason, why I suggested to use the GUI-support of the vbRichClient5.dll. It is "DPI-awa...
- Dec 24, 2016 9:26
- Forum: General
- Topic: GUI design
- Replies: 47
- Views: 10821
Re: GUI design
Here's the little VBScript again, enhanced about what I meant with: "Incorporating the MS-speech-API from centrally handled Events" (reporting in the bubbling GotFocus-Event for both, the Button and the Text-Widget - and in the bubbling Change-Event the current content of the currently foc...
- Dec 24, 2016 8:09
- Forum: General
- Topic: GUI design
- Replies: 47
- Views: 10821
Re: GUI design
At this point in time I'm merely putting out an idea and asking how feasible it would be to build, and to establish whether anybody here would be willing to build it or whether I'll have to hire someone. Not directly related to FreeBasic (although it would work also within FreeBasic with a few &quo...