Search found 2897 matches

by marcov
Apr 26, 2020 12:49
Forum: Community Discussion
Topic: What do you use FreeBASIC for?
Replies: 91
Views: 3260

Re: What do you use FreeBASIC for?

The outlier is C/C++, with their insistence on {brackets all over the place} and semicolons to indicate "hey, the line has ended". Oh really? I wouldn't have noticed. Well Pascal has semicolons and begin/end too. But that kind of structuring from "Basic" is actually a Pascallize...
by marcov
Apr 26, 2020 11:59
Forum: Community Discussion
Topic: What do you use FreeBASIC for?
Replies: 91
Views: 3260

Re: What do you use FreeBASIC for?

Regarding your statement above, "And no technical ones.", I would appreciate your opinion on Eric Roberts' reasons for Stanford University moving from Pascal to C in the 1990's as expressed in his paper "Loop Exits and Structured Programming:Reopening the Debate" available at th...
by marcov
Apr 26, 2020 10:11
Forum: Community Discussion
Topic: What do you use FreeBASIC for?
Replies: 91
Views: 3260

Re: What do you use FreeBASIC for?

Hmm, so he abandoning Pascal for C because C has a goto statement? Other way around. Pascal has GOTO as part of the language, and in the ISO version it is even inter-procedural (you can jump from a nested procedure back to the parent procedure) C does not have language GOTO, but does provide a setj...
by marcov
Apr 25, 2020 13:44
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5055

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

I have a new library to add to the list of C/C++ GUI libraries could be used as a backend for our FreeBASIC GUI toolkit. It's a C library, so creating binding for FreeBASIC should be straight forward. http://libagar.org/ It's not just for GUI but also includes other features like Audio, Math, Netwo...
by marcov
Apr 25, 2020 12:42
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5055

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

I appreciate marcov for his suggestions to improve FreeBASIC but sometime I can't stop the thought that he want FreeBASIC to copy Free Pascal 1:1. I don't like the way we currently copy C++ 1:1, too. Copying Free Pascal 1:1 is impossible, as the two languages are very different. No, I just name Obj...
by marcov
Apr 24, 2020 9:42
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5055

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

You know Munair, I tried a little graphical thing on the freepascal site, just a screen and some circles and lines, (The travelling salesman algo), which is really very boring if you cannot show his/her route on the screen. I got blasted for using the unit graph and wincrt units, way too out of dat...
by marcov
Apr 23, 2020 15:02
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5055

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

From what I can see, it is just about not separating implementation from interface? No. It is not just that. The base principle is separate compilation, like C does for multiple C files. However there are multiple ways to practically implement that. Header/C file is basically rock bottom, with litt...
by marcov
Apr 23, 2020 12:16
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5055

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

d) all includes refer to \Masm32\include, i.e. a path relative to the root of the current drive; old-fashioned but works like a charm Hardcoded paths are always bad. On Windows you can specify everything relative to the relevant binary. So if most binaries are in %somedir%\bin, libraries are getpat...
by marcov
Apr 23, 2020 12:12
Forum: General
Topic: Integer vs UInteger comparison
Replies: 12
Views: 405

Re: Integer vs UInteger comparison

You're right. Possible reasoning is that casting will slow things down and if the FB-to-C translation is written by a seasoned C programmer, the choice may be obvious (just hypothesizing here). Don't understand what you mean here. If you mean compilation speed, then stay away from a C backend at al...
by marcov
Apr 23, 2020 11:54
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5055

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

True. I have no stakes in this since I am more an outside observer than a frequent FB user. My main problems are: - what exactly is the market niche of Free Basic ? Rumoured to be gaming, but that is mostly based on fbgfx being in the core distribution. And that might be bit archaic, both as the co...
by marcov
Apr 23, 2020 10:25
Forum: General
Topic: Integer vs UInteger comparison
Replies: 12
Views: 405

Re: Integer vs UInteger comparison

What do other basics do in such case? QuickBASIC did not have word types. In order to represent 0 to 65535 type LONG had to be used. FreeBASIC simply seems to adopt the C way and there isn't much choice if C is used as back-end. I don't see why? FB could issue the relevant casts/conversions to infl...
by marcov
Apr 23, 2020 9:53
Forum: General
Topic: Integer vs UInteger comparison
Replies: 12
Views: 405

Re: Integer vs UInteger comparison

What do other basics do in such case?
by marcov
Apr 22, 2020 15:37
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5055

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

IMHO the problems are more in core concepts like the prevalence of the preprocessor, and header based compilation unit model. Cutting some legacy QB features won't fix much. I am curious about this. Can you point me to a resource on the header based compilation model and alternatives? C#-Java, Pasc...
by marcov
Apr 22, 2020 15:15
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5055

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

IMHO the problems are more in core concepts like the prevalence of the preprocessor, and header based compilation unit model.
Cutting some legacy QB features won't fix much.

Go to advanced search