Search found 1459 matches

by caseih
Jul 05, 2020 3:18
Forum: Tips and Tricks
Topic: Yet another expression parser (spreadsheet)
Replies: 16
Views: 543

Re: Yet another expression parser (spreadsheet)

No compile warnings or errors on my machine, FB 1.07, Linux, 64-bit. Underlying GCC is version 10.1.1.
by caseih
Jul 01, 2020 23:52
Forum: General
Topic: Embedding a Spreadsheet
Replies: 34
Views: 1092

Re: Embedding a Spreadsheet

I don't think it's worth it to support variadic operators in RPN. My trusty HP 48 certainly doesn't bother with it. If you want algebraic expression parsing, many years ago (like nearly 30 years ago) I wrote a recursive-descent parser to parse expressions (one character lookahead I think), roughly b...
by caseih
Jun 30, 2020 1:38
Forum: General
Topic: Embedding a Spreadsheet
Replies: 34
Views: 1092

Re: Embedding a Spreadsheet

Someone wrote a very simple spread sheet application in QBASIC some years ago which you might be able to borrow or get ideas from. I saw it here: https://www.instructables.com/id/DIY-co ... -template/

It runs under FB with the qb language flag, but it's super slow.
by caseih
Jun 29, 2020 15:56
Forum: General
Topic: What is this technique called?
Replies: 6
Views: 167

Re: What is this technique called?

And all languages on all computer architectures ultimately translate to this form form of logic. This is known as being "turing complete." In fact you can write any program you want with only one instruction that involves an arithmetic operation and a branch (goto) based on a test of the r...
by caseih
Jun 28, 2020 14:00
Forum: Community Discussion
Topic: Mac OS X Support
Replies: 23
Views: 665

Re: Mac OS X Support

Google tells me this is from a library called libffi.
by caseih
Jun 23, 2020 16:37
Forum: Linux
Topic: Linux freebasic portability issue
Replies: 8
Views: 505

Re: Linux freebasic portability issue

Linux software distribution has always been a thorny one, especially for use cases such as yours. At one time users were expected to compile things from a source tarball, which is a bit hard with FB, because users would probably have to compile FB first! Besides the package route (which is distro sp...
by caseih
Jun 19, 2020 18:07
Forum: Beginners
Topic: Is FreeBasic A Decent Alternative To VisualBasic 6?
Replies: 12
Views: 401

Re: Is FreeBasic A Decent Alternative To VisualBasic 6?

If you're looking for a language with a built-in GUI form system and an integrated, rapid development designer, then no, FreeBASIC is definitely not an alternative to VB 6. Something like gambas is more equivalent to VB6, but not a direct drop-in replacement. All that said, with external GUI librari...
by caseih
Jun 17, 2020 2:45
Forum: General
Topic: Squares
Replies: 7926
Views: 495425

Re: Squares

That run-length encoding , won't work on a string of random characters.. That's what I've been experimenting on , for over a year now.. Correct. Truly random sequences of bytes cannot be compressed by any algorithm. It's mathematically impossible (and provably so I'd wager). You'll be working on it...
by caseih
Jun 12, 2020 3:37
Forum: Beginners
Topic: Is there a command separator in FreeBASIC [SOLVED]
Replies: 2
Views: 159

Re: Is there a command separator in FreeBASIC

Nearly all BASICs use the colon as a separator.
by caseih
Jun 03, 2020 2:05
Forum: Community Discussion
Topic: FreeBasic for Arm
Replies: 4
Views: 255

Re: FreeBasic for Arm

Strange. libncurses5 should provide that library. what does "dpkg -L libncurses5" say about it?
by caseih
Jun 02, 2020 18:54
Forum: Windows
Topic: Curl.dll and msvcrt dependence
Replies: 9
Views: 373

Re: Curl.dll and msvcrt dependence

The "not found" messages are not errors. Just means that your environment (the old msvcrt or whatever) lacks some features, so the code is using #ifdefs to define alternates or remove features from the build. Nothing fatal. The final configuration feature list looks pretty good.
by caseih
Jun 02, 2020 13:35
Forum: Community Discussion
Topic: GW-BASIC is open source now
Replies: 22
Views: 1191

Re: GW-BASIC is open source now

VB6 (and Delphi) apps had a certain longevity. It's exactly that what I worry about with many of these javascript frameworks. Everything is still so much growing and changing, will the choices of today be maintainable in 4 years? And how many frameworks will you have to support in 5-10 years? Agree...
by caseih
Jun 02, 2020 13:33
Forum: Community Discussion
Topic: GW-BASIC is open source now
Replies: 22
Views: 1191

Re: GW-BASIC is open source now

systemctl wrote:
caseih wrote:Things like Electron have become the modern equivalent of VB6.

No, it is not, at all.
Yes, yes it is. :) Like it or not.
by caseih
Jun 02, 2020 13:32
Forum: Windows
Topic: Curl.dll and msvcrt dependence
Replies: 9
Views: 373

Re: Curl.dll and msvcrt dependence

Indeed it is very old. But that's currently what the FB compiler uses, so any libraries you want to work with must also link against that old dll. MS recommends strongly against mixing C runtime dlls in the same process. There can be conflicts with the structures used for file I/O, and also error ha...
by caseih
Jun 01, 2020 23:40
Forum: Community Discussion
Topic: FreeBASIC vs QB64
Replies: 23
Views: 970

Re: FreeBASIC vs QB64

My feeling is that he's curious about the inner workings of FB compared to other compilers out there like QB64. Many people on this forum use FB as a means of running their old QB code. QB64 is another good choice for that. Shrug. Doesn't bother me at all.

Go to advanced search