Search found 135 matches

by Boris the Old
Mar 15, 2020 13:16
Forum: Community Discussion
Topic: Is there any gui designer for freebasic on linux?
Replies: 8
Views: 2412

Re: Is there any gui designer for freebasic on linux?

@nov79 You might try executing your Windows Designer/IDE on Linux by using Wine. Here's how I do it with the PowerBASIC IDE. Set up a desktop shortcut with a command line similar to: wine H:\\PBWin10\\bin\\PBEDIT.EXE Linux passes the double backslash to Wine as a single backslash. I have successfull...
by Boris the Old
Mar 14, 2020 22:49
Forum: Community Discussion
Topic: Dream of sugar
Replies: 12
Views: 2960

Re: Dream of sugar

In the interests of clarity, and bug proofing, I've always preferred using separate statements for attributes. A missing comma can easily be overlooked, and someone not familiar with the language would have great difficulty figuring out exactly what the statement does. I prefer the following approac...
by Boris the Old
Mar 14, 2020 19:55
Forum: Community Discussion
Topic: Dream of sugar
Replies: 12
Views: 2960

Re: Dream of sugar

I was just mentioning that I now use only FreeBASIC, in conjunction with the FLTK GUI library, for all our in-house development. Over the years we've built up an extensive library of active business applications, some of them still written in DOS-COBOL and DOS-MASM, but most in PowerBASIC. So over t...
by Boris the Old
Mar 14, 2020 18:26
Forum: Community Discussion
Topic: Dream of sugar
Replies: 12
Views: 2960

Re: Dream of sugar

@dodicat Sorry to disappoint you, but the code fragments are 100% pure FreeBASIC, as are all my applications. The only external library I use is FLTK. As for FB's Fixed Strings, they contain an ending null character, which makes it useless for mapping to external data records, etc. Also, if a null i...
by Boris the Old
Mar 14, 2020 13:38
Forum: Community Discussion
Topic: Dream of sugar
Replies: 12
Views: 2960

Re: Dream of sugar

@oyster Missing features are no big deal - a programmer's job is to work with the tool's you're given. And if the language can't be made to work the way you want, then use another language that's more suitable. If a hammer won't work - try using a screwdriver. I've been programming for almost 60 yea...
by Boris the Old
Aug 18, 2019 12:46
Forum: Community Discussion
Topic: [offtopic]What was at Jul 24, 2019 something special ?
Replies: 16
Views: 11957

Re: [offtopic]What was at Jul 24, 2019 something special ?

D.J.Peters wrote:~300 robots per day not bad !
Looks like FreeBASIC is more popular for machines as for humans ;-)
Joshy
The internet has finally become sentient and is looking around for something to play with.

Rod
by Boris the Old
Aug 16, 2019 17:51
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 197968

Re: FLTK-C-1.3.3 for FreeBASIC

@Joshy It's been a few months since I was on the forums, and just wanted to let you know that FLTK is working out well in converting our business applications from PowerBasic to FB. What's my personal motivation to work on Fltk? I am programmer for fun, like we all here. Some of us are here to find ...
by Boris the Old
Jan 12, 2019 5:02
Forum: Community Discussion
Topic: The Birth of BASIC.
Replies: 36
Views: 9191

Re: The Birth of BASIC.

Joshy In the late 1970's, when I started my own software business, I was writing multi-user business applications for Data General mini-computers using Business Basic. Far more advanced than the Basic used on micro-computers in the 1980's. And although I've programmed in many languages over the year...
by Boris the Old
Jan 05, 2019 17:26
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 197968

Re: FLTK C for FreeBASIC Jan 09, 2017

Joshy

I've been using your FLTK wrapper for the past four years, and I'm looking forward to your new FLTK classes.

Many thanks.

Rod
by Boris the Old
Jan 05, 2019 17:06
Forum: Windows
Topic: question on call functions in DLL
Replies: 17
Views: 3712

Re: question on call functions in DLL

fxm wrote:You have just to declare the library procedure names themselves.
As you say, it's a lot more simple. Thanks.

Rod
by Boris the Old
Jan 05, 2019 16:12
Forum: Windows
Topic: question on call functions in DLL
Replies: 17
Views: 3712

Re: question on call functions in DLL

fxm wrote:If you load it at program startup and unload it at the end of the program, use the same shared library (DLL) but statically (with '#inclib'), that is simpler for calling its procedures.
In what way is it simpler? Surely the DLL procedures still need to be declared?

Thanks
Rod
by Boris the Old
Dec 22, 2018 7:42
Forum: Community Discussion
Topic: adding FreeBASIC to the TIOBE index
Replies: 38
Views: 8274

Re: adding FreeBASIC to the TIOBE index

@lizard There are no best or worst programming languages, just programming languages - each with its strengths and weaknesses. The trick to being a good programmer is using the correct language for the job. A "one language fits all" approach is not a good strategy. I use many languages in ...
by Boris the Old
Dec 22, 2018 4:46
Forum: Community Discussion
Topic: adding FreeBASIC to the TIOBE index
Replies: 38
Views: 8274

Re: adding FreeBASIC to the TIOBE index

@jj2007

These sort of "controversial" comments have been going around for the past 60 years, but it never did dissuade businesses from using the language.

We COBOL programmers, happy in our work, just smile politely. ;-)

Rod
by Boris the Old
Dec 21, 2018 18:19
Forum: Community Discussion
Topic: adding FreeBASIC to the TIOBE index
Replies: 38
Views: 8274

Re: adding FreeBASIC to the TIOBE index

@jj2007 Actually, it's very plausible. Just search the net and you'll find all kinds of references to the dominance of COBOL. https://blog.hackerrank.com/the-inevitable-return-of-cobol/ COBOL is a very powerful language that has all the modern stuff, such as OOP, and features that don't even exist i...
by Boris the Old
Dec 21, 2018 7:11
Forum: Community Discussion
Topic: adding FreeBASIC to the TIOBE index
Replies: 38
Views: 8274

Re: adding FreeBASIC to the TIOBE index

I think this discussion is pointless, since the TIOBE ratings are meaningless. About 80% of the world's code is written in COBOL, yet it is low on the TIOBE scale. It is a highly structured language that conforms to strict standards. It is also easy to use, so why would COBOL programmers need to sea...