Search found 1274 matches

by Munair
Feb 22, 2022 19:32
Forum: Community Discussion
Topic: Observations.
Replies: 138
Views: 15722

Re: Observations.

I would like that confirmed from the mods here. jj may be suspend which he may have interpreted as (permanent) ban.
by Munair
Feb 22, 2022 19:27
Forum: General
Topic: Using a static library: linker problems
Replies: 48
Views: 3946

Re: Using a static library: linker problems

Vortex wrote: Feb 22, 2022 17:26 jj2007 is permanently banned from the FB forum.
Without any of the moderator's confirmation?
by Munair
Feb 22, 2022 7:20
Forum: Windows
Topic: For WinFBE users
Replies: 18
Views: 2470

Re: For WinFBE users

QuickBASIC also used -1 to define TRUE and I've seen programmers using it numerically in algorithms in an attempt to shorten their code. Personally, I think it's a bad habit.
by Munair
Feb 22, 2022 7:16
Forum: Community Discussion
Topic: Revamping the forum?
Replies: 129
Views: 20836

Re: Revamping the forum?

deltarho[1859] wrote: Feb 21, 2022 21:51 As time went on I leant that many members were using my code and many of them are commercial programmers.
It might be worth adding a license to your code if you post it. Or just share some snippets as example for others to pick up.
by Munair
Feb 21, 2022 18:31
Forum: General
Topic: Using a static library: linker problems
Replies: 48
Views: 3946

Re: Using a static library: linker problems

caseih wrote: Feb 21, 2022 15:20 I'm not in favor of the ban hammer at this time, personally.
I agree.
by Munair
Feb 21, 2022 7:03
Forum: Community Discussion
Topic: Revamping the forum?
Replies: 129
Views: 20836

Re: Revamping the forum?

Thanks a lot! It works.
by Munair
Feb 20, 2022 19:51
Forum: Beginners
Topic: Search for files by multiple extensions
Replies: 19
Views: 2399

Re: Search for files by multiple extensions

There are compilers out there that try to distinguish between hints, warnings and critical warnings. But it's never perfect.
by Munair
Feb 20, 2022 18:49
Forum: Beginners
Topic: Search for files by multiple extensions
Replies: 19
Views: 2399

Re: Search for files by multiple extensions

jj2007 wrote: Feb 20, 2022 18:47 [and exaggerated "type safety" that results in absurd warnings
Recompile the Lazarus IDE and count the warnings. :D
by Munair
Feb 20, 2022 18:36
Forum: Beginners
Topic: FindOffset function problem
Replies: 8
Views: 687

Re: FindOffset function problem

There's no clue without knowing the content of wValue, wMarker.or the file.

Tip:

You can write the byte directly, so instead of:

Code: Select all

bVal = Asc(Mid(wValue, i, 1)) 
Put #1, S + (i - 1) * 2, bVal
you can do:

Code: Select all

put #1, S + (i - 1) * 2, wValue[i - 1]
by Munair
Feb 20, 2022 18:25
Forum: General
Topic: Using a static library: linker problems
Replies: 48
Views: 3946

Re: Using a static library: linker problems

I think operator+ and his other account have been banned today.
by Munair
Feb 20, 2022 18:06
Forum: Beginners
Topic: FindOffset function problem
Replies: 8
Views: 687

Re: FindOffset function problem

Unfortunately, FreeBASIC is a bit inconsistent here. The # to mark a file handle is sometimes optional as with the Open and Close statement, but it is not with the Get and Put statement, or the Line Input statement. Worse, EOF does not accept the #.
by Munair
Feb 20, 2022 18:01
Forum: Beginners
Topic: FindOffset function problem
Replies: 8
Views: 687

Re: FindOffset function problem

Use #FF (it's a file handle after all).

EDIT, paul doe just beat me there.
by Munair
Feb 20, 2022 17:21
Forum: Beginners
Topic: Search for files by multiple extensions
Replies: 19
Views: 2399

Re: Search for files by multiple extensions

Difficult in FreeBasic, but pretty "basic" in other languages: ... Yeah but unfortunately, this is a forum about a specific language called 'FreeBasic'. Don't you like it? There's the door over there. I already issued you a warning for this kind of demeanor. There won't be a second one. I...
by Munair
Feb 20, 2022 15:21
Forum: General
Topic: Are line label pointers possible?
Replies: 44
Views: 3252

Re: Are line label pointers possible?

- using a goto out of a nested IF is faster or nested loops for that matter (preferably using the same syntax). I added the jump statement to Sharp BASIC today, but to minimize the possibility of spaghetti code the statement is only allowed inside subroutines and functions, which from assembly poin...
by Munair
Feb 20, 2022 15:12
Forum: Beginners
Topic: Search for files by multiple extensions
Replies: 19
Views: 2399

Re: Search for files by multiple extensions

badidea wrote: Feb 20, 2022 14:12 Do it manually / filter in freebasic:
It's a workaround, but probably the cleanest and best multi-platform solution.