Search found 130 matches

by Boris the Old
Aug 18, 2019 12:46
Forum: Community Discussion
Topic: [offtopic]What was at Jul 24, 2019 something special ?
Replies: 10
Views: 556

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
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 350
Views: 39027

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: 3254

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
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 350
Views: 39027

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: 1107

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: 1107

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: 36
Views: 1859

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: 36
Views: 1859

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: 36
Views: 1859

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: 36
Views: 1859

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...
by Boris the Old
Dec 17, 2018 3:03
Forum: General
Topic: Passing fixed-len string as arguments: possible but not recommended?
Replies: 19
Views: 869

Re: Passing fixed-len string as arguments: possible but not recommended?

@dodicat

My example was not intended to be a real one, but was written in haste to show the type of problems encountered when performing business calculations. I forgot to mention that.

Many decimal numbers do map to floats, but many don't.

Rod
by Boris the Old
Dec 16, 2018 18:03
Forum: General
Topic: Passing fixed-len string as arguments: possible but not recommended?
Replies: 19
Views: 869

Re: Passing fixed-len string as arguments: possible but not recommended?

... support for decimal arithmetic (floating point just isn't acceptable for business calculations)... What's wrong with floating point in FB? Could you be more specific? Carlos The problem is not with FB's floating point features - it's a problem because decimal numbers (base 10) cannot be mapped ...
by Boris the Old
Dec 16, 2018 3:45
Forum: General
Topic: Passing fixed-len string as arguments: possible but not recommended?
Replies: 19
Views: 869

Re: Passing fixed-len string as arguments: possible but not recommended?

As it stands, "fixed length string" support in FB is non-existent. It is the one big failing of FB. For the past few years I've been looking around for a single language that will replace our current languages - COBOL, PowerBasic, and Assembler (that's what old guys call Assembly). We writ...
by Boris the Old
Dec 15, 2018 3:14
Forum: General
Topic: Fixed Length String handling
Replies: 39
Views: 1306

Re: Fixed Length String handling

I didn't notice this topic before. I'm surprised by the affirmation above because I was playing around with Unions those last 3 days and the one of the first thing I noticed is that a STRING*8 can be assigned 8 chars, while we need a ZSTRING*9 for the same job. So fixed-len strings are not exactly ...
by Boris the Old
Dec 15, 2018 2:37
Forum: General
Topic: Passing fixed-len string as arguments: possible but not recommended?
Replies: 19
Views: 869

Re: Passing fixed-len string as arguments impossible?

I would suggest that fixed length string/zstring data not be used in FB code, except where it's necessary for communicating with the outside world. It's too easy to write data outside the limits of the fixed string fields, or attempt to do things that are not supported. We use FLTK, which requires z...

Go to advanced search