Search found 48 matches

by OSchmidt
May 25, 2019 23:34
Forum: General
Topic: Need faster Exponentiate
Replies: 25
Views: 755

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...
by OSchmidt
Nov 18, 2018 1:29
Forum: General
Topic: porting plot library to FB?
Replies: 21
Views: 869

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 ...
by OSchmidt
Nov 13, 2018 3:08
Forum: Community Discussion
Topic: Speed of FreeBasic
Replies: 62
Views: 5801

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...
by OSchmidt
Nov 12, 2018 18:00
Forum: Community Discussion
Topic: Speed of FreeBasic
Replies: 62
Views: 5801

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...
by OSchmidt
May 15, 2017 2:30
Forum: Beginners
Topic: Help Translating a draw strings routine to FB
Replies: 6
Views: 610

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 ...
by OSchmidt
Feb 05, 2017 22:40
Forum: General
Topic: Dir descending
Replies: 9
Views: 947

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",...
by OSchmidt
Feb 05, 2017 1:36
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated March 25, 2019)
Replies: 512
Views: 55912

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 ...
by OSchmidt
Feb 01, 2017 10:57
Forum: General
Topic: GUI design
Replies: 47
Views: 3382

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...
by OSchmidt
Jan 30, 2017 9:59
Forum: Community Discussion
Topic: 2017-01-28 lost posts
Replies: 13
Views: 1309

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
by OSchmidt
Jan 29, 2017 23:59
Forum: Community Discussion
Topic: 2017-01-28 lost posts
Replies: 13
Views: 1309

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.: http://www.freebasic.net *still* points to the old IP (and there's a whole lot of links, which use the http://www.-p...
by OSchmidt
Dec 25, 2016 0:17
Forum: General
Topic: GUI design
Replies: 47
Views: 3382

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...
by OSchmidt
Dec 24, 2016 11:29
Forum: General
Topic: GUI design
Replies: 47
Views: 3382

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...
by OSchmidt
Dec 24, 2016 9:26
Forum: General
Topic: GUI design
Replies: 47
Views: 3382

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...
by OSchmidt
Dec 24, 2016 8:09
Forum: General
Topic: GUI design
Replies: 47
Views: 3382

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...
by OSchmidt
Nov 04, 2016 0:32
Forum: General
Topic: How to convert this code to FB
Replies: 2
Views: 382

Re: How to convert this code to FB

Please help me some code so i want to convert this code to FB code format dim xHttp: Set xHttp = createobject("Microsoft.XMLHTTP") dim bStrm: Set bStrm = createobject("Adodb.Stream") If you want a platform-independent version, I suggest you choose a platform-independent library ...

Go to advanced search