Search found 600 matches

by speedfixer
Feb 20, 2022 18:22
Forum: General
Topic: Using a static library: linker problems
Replies: 48
Views: 3804

Re: Using a static library: linker problems

operator+: if I followed your suggestion, I would be shipping 45 files instead of one file.

Why do you get so excited when someone has a different opinion than you have?
Must the world all be like you? Is that all that is acceptable?

david
by speedfixer
Feb 20, 2022 18:16
Forum: General
Topic: Are line label pointers possible?
Replies: 44
Views: 3184

Re: Are line label pointers possible?

I second marcov's statement.
GOTO is crucial for exiting a complex series of tests and statements without trying to write or keep track of a bunch of unwinding code or levels of nesting.

david
by speedfixer
Feb 15, 2022 4:58
Forum: Linux
Topic: Not compiling hello.bas on Debian 11
Replies: 4
Views: 2469

Re: Not compiling hello.bas on Debian 11

While fbc may run and show that it executes, if you didn't try to compile something, it didn't need to find files required to link against.

david
by speedfixer
Feb 09, 2022 0:45
Forum: General
Topic: Are line label pointers possible?
Replies: 44
Views: 3184

Re: Are line label pointers possible?

My point about line labels, GOTO, and other poor form are that these are simply someones opionion of style. Teaching something does not make it correct. We wouldn't have Einstien or Linux if that were true. No one would have found the 'New World.' We wouldn't have reusable booster rockets because it...
by speedfixer
Feb 06, 2022 17:48
Forum: General
Topic: Are line label pointers possible?
Replies: 44
Views: 3184

Re: Are line label pointers possible?

Line labels stem from a time when GOTO and GOSUB were the main control flow statements. Their usage shouldn't be encouraged anymore. The only legit case I can think of is the RESTORE statement to maintain compatibility with DATA blocks. [Highlight added by me.] Your lack of creativity should not be...
by speedfixer
Feb 06, 2022 17:42
Forum: Beginners
Topic: Can I find out the label address?
Replies: 4
Views: 876

Re: Can I find out the label address?

dim as integer iinntt dim as integer ptr label #if (typeof(progend) = typeof(iintt)) #print " line label is an integer" #endif #if (typeof(@progend) = typeof(@iintt)) #print " line label is an integer pointer" #endif progend: label = progend print label fbc test3.bas line label ...
by speedfixer
Feb 05, 2022 0:46
Forum: General
Topic: Are line label pointers possible?
Replies: 44
Views: 3184

Re: Are line label pointers possible?

Not sure if this helps: dim as integer iinntt, iiittt #if (typeof(iiittt) = typeof(iiittt)) #print " int type = int type" #endif #if (typeof(progend) = typeof(iintt)) #print " line label is an integer" #endif #if (typeof(@progend) = typeof(@iintt)) #print " line label is an ...
by speedfixer
Jan 29, 2022 16:05
Forum: Linux
Topic: Linux Mint Install fails
Replies: 12
Views: 3571

Re: Linux Mint Install fails

I suspect it was permissions. We need to hear from OP again.
by speedfixer
Jan 29, 2022 16:04
Forum: Linux
Topic: Garuda, another Arch-based distro (fbc 1.09 Arch package)
Replies: 11
Views: 3244

Re: Garuda, another Arch-based distro on the rise

Also hurting Debian main is the *extremely* slow package acceptance policies.

Individual Deb distros try to pick the pace, but it isn't easy and requires too much effort, sometimes. Only the large Deb distros have a chance to persist.

david
by speedfixer
Jan 28, 2022 18:35
Forum: Linux
Topic: Linux Mint Install fails
Replies: 12
Views: 3571

Re: Linux Mint Install fails

OPs problem was that it didn't run at all.

Let's fix that before we worry about other issues.
by speedfixer
Jan 28, 2022 16:36
Forum: Linux
Topic: Linux Mint Install fails
Replies: 12
Views: 3571

Re: Linux Mint Install fails

Linux is not Windows. But it works. david@gby:/usr/local/bin$ fbc usage: fbc [options] <input files> input files: *.a = static library, *.o = object file, *.bas = source *.rc = resource script, *.res = compiled resource (win32) *.xpm = icon resource (*nix/*bsd) options: @<file> Read more command li...
by speedfixer
Jan 28, 2022 7:11
Forum: Linux
Topic: Linux Mint Install fails
Replies: 12
Views: 3571

Re: Linux Mint Install fails

/usr/local/bin is correct. A simple 'fbc' from a console there should work. Possible that permissions, etc are not correct. Happens from time-to-time. From a console in that directory: 'sudo chmod a+x fbc' should do it. If you don't get an options listing, then something didn't install correctly. da...
by speedfixer
Jan 25, 2022 1:23
Forum: Beginners
Topic: pointers to UDT?
Replies: 5
Views: 807

Re: pointers to UDT?

You need to understand SHARE and probably COMMON.

david
by speedfixer
Jan 25, 2022 1:14
Forum: Community Discussion
Topic: FreeBASIC 1.09.0 Release
Replies: 256
Views: 51671

Re: FreeBASIC 1.09.0 Release

Yes, I did.
I may have addressed the libtinfo problem. I don't remember. That is a long-standing, well-known recurring issue. I might have fixed it automatically on install.

I did NOT have a libfbrt0.o message, for sure.

Path problem?

david
by speedfixer
Jan 24, 2022 17:45
Forum: Community Discussion
Topic: FreeBASIC 1.09.0 Release
Replies: 256
Views: 51671

Re: FreeBASIC 1.09.0 Release

It worked fine for me, no mods or extra care, on Manjaro. Passed my tiny test suite.

david