Search found 861 matches

by paul doe
May 18, 2019 15:34
Forum: Documentation
Topic: Wiki improvements
Replies: 282
Views: 20498

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: 43
Views: 1206

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: 43
Views: 1206

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: 43
Views: 1206

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: 43
Views: 1206

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: 12
Views: 289

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: 12
Views: 289

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: 12
Views: 289

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).
by paul doe
May 11, 2019 20:50
Forum: General
Topic: Need faster Exponentiate
Replies: 12
Views: 289

Re: Need faster Exponentiate

... I would like to convert this one to FreeBASIC https://martin.ankerl.com/2007/10/04/optimized-pow-approximation-for-java-and-c-c/ but I do not understand some parts of the code. Here: function approximatePow( _ byval a as double, _ byval b as double ) _ as double dim as longint _ tmp => clng( *c...
by paul doe
May 09, 2019 13:41
Forum: General
Topic: Displaying data on screen
Replies: 17
Views: 289

Re: Displaying data on screen

@paul Doe your welcome to email me at xxx Ok, got it. Erase it or otherwise edit it so that it can't be parsed (security issues). Top of the range here are machines that cost £6,000 plus. I want to make a cheaper system as small Business can not always pay that sort of cash and I can get machines w...
by paul doe
May 09, 2019 11:53
Forum: General
Topic: Displaying data on screen
Replies: 17
Views: 289

Re: Displaying data on screen

most of what I need is just basic input screens etc that was why I though of the TUI for this project ... Of course, with a TUI you can create any app you want in text mode, and easily modify your existing ones, but it takes a little more work than simply code a form generator. ... Here in the UK w...
by paul doe
May 09, 2019 10:30
Forum: General
Topic: Displaying data on screen
Replies: 17
Views: 289

Re: Displaying data on screen

... and I would have to learn how to use FoxPro (as I know FoxPro does have a interface that can act like a Program) I am using plan FB as it's a language I know (I was thinking about using VBDOS but I keep hitting the 640KB limit with the apps I make in that) Fair enough, but do you really need an...
by paul doe
May 09, 2019 0:31
Forum: General
Topic: Displaying data on screen
Replies: 17
Views: 289

Re: Displaying data on screen

A GUI would be easier but it would mean learning how to use the tool kit. The software is still crashing with just the text interface (I’m working on that) The tool kits only aim at Linux and windows I would like to also support DOS (if anyone knows of a gui tool kit that works on dos I’ll be inter...
by paul doe
May 08, 2019 23:05
Forum: General
Topic: Displaying data on screen
Replies: 17
Views: 289

Re: Displaying data on screen

Gablea wrote:thanks for the example code

how would i deal with say 1,00 products (with a limited number on screen)

Didn't badidea's code in the previous post already answered this?
by paul doe
May 03, 2019 19:14
Forum: Game Dev
Topic: Help on an Infinite Tile Engine
Replies: 14
Views: 391

Re: Help on an Infinite Tile Engine

... I had a look at Paul's "Dungeon Siege" pdf-link. The main message I got from that is: With a multiplayer game, things get way more complicated. It's the requirements (namely, a 'continuous world') that made it complicated, not so much the technique. There are some interesting workarou...

Go to advanced search