Search found 408 matches

by speedfixer
Oct 16, 2020 17:39
Forum: Community Discussion
Topic: @dodicat
Replies: 0
Views: 102

@dodicat

but I'll leave this as my swan song contribution


??
david
by speedfixer
Oct 16, 2020 17:13
Forum: General
Topic: multithread detection
Replies: 11
Views: 369

Re: multithread detection

Surely, when restarting from the top, SOMETHING is changed to indicate whatever triggered the change. If that is a one-flag-only process or anything like that, the deficiencies are obvious. I doubt that is the case. Same with cmdline: it seems it is quirky in requiring an order of parameters at time...
by speedfixer
Oct 12, 2020 8:17
Forum: General
Topic: multithread detection
Replies: 11
Views: 369

Re: multithread detection

@caseih: you are correct I compile each function two times: once with and once without '-mt' to create my object files for later static linking. I have one threaded, one non-threaded object directory. (Actually, several more *pairs* of directories, one pair for each different architecture: four pair...
by speedfixer
Oct 11, 2020 7:53
Forum: General
Topic: multithread detection
Replies: 11
Views: 369

multithread detection

What are the triggers that cause multithreading detection and library usage? When is this detection happening? It seems any FB multithread keyword I use is consumed in pre-compiled object libraries for static linking. My main app code calls these pre-compiled functions of mine so the compiler now mi...
by speedfixer
Oct 11, 2020 2:02
Forum: Documentation
Topic: Wiki improvements
Replies: 540
Views: 96016

Re: Wiki improvements

re: EVENT/ERROR handling Seeing each possible choice next to each other does not improve my confidence that someone navigating to these topics will find what they want. Better to put something/anything on the table now than waiting for 'sometime' in the future. Oh, well. Perhaps perfection will have...
by speedfixer
Oct 09, 2020 23:59
Forum: Documentation
Topic: Wiki improvements
Replies: 540
Views: 96016

Re: Wiki improvements

Thank you for the added references. Event Catching -- sounds too much like a more generalized topic relating to catching/handling an event. Yeah, but this *specific* event (FB EVENT structure) is handed to us by the language - not the same. Probably something more like 'FreeBASIC EVENT handling' wou...
by speedfixer
Oct 06, 2020 22:35
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 381
Views: 40724

Re: Gas64 (no more use of gcc, only gas) WDS / LNX

Amazing work. Thank you both.

david
by speedfixer
Oct 06, 2020 22:31
Forum: General
Topic: i'm curious about inkey, getkey & chr : how to use those
Replies: 4
Views: 358

Re: i'm curious about inkey, getkey & chr : how to use those

Please add 'SCREENEVENT' to See Also at MULTIKEY, GETMOUSE, and GEYJOYSTICK. Many years ago, when I found this, I felt cheated that it took so long to discover. Answers (like above) almost always neglect to mention this keyword. While using this the feeling of re-inventing the wheel may happen, but ...
by speedfixer
Sep 27, 2020 0:43
Forum: Community Discussion
Topic: screeninfo integers
Replies: 4
Views: 179

Re: screeninfo integers

Adding extra code to convert to your desired type doesn't save anything unless you are using it a LOT in one app. Your function saves some keystrokes if you use it a lot - if you can remember what it is and where it is. I just convert as needed inline. I cannot imagine an app that should need to do ...
by speedfixer
Sep 26, 2020 22:10
Forum: Community Discussion
Topic: screeninfo integers
Replies: 4
Views: 179

screeninfo integers

I'm not trying to start trouble. Just a question. Shouldn't the data returned by functions like screeninfo be longs instead of integers? This seems like it would make cross platform routines a lot easier to write. Even lib maintenance should be easier. Is this simply a legacy from previous 32 bit so...
by speedfixer
Sep 24, 2020 20:32
Forum: Documentation
Topic: threadcreate()
Replies: 6
Views: 340

Re: threadcreate()

Thank you
by speedfixer
Sep 23, 2020 22:44
Forum: Documentation
Topic: threadcreate()
Replies: 6
Views: 340

Re: threadcreate()

I don't have any problem with the current text or the examples. I DO still remember how much effort it takes to master learning about using any languages' particular syntax using threads and pointers. For any of the tougher programming concepts, I always review how I use the language and any changes...
by speedfixer
Sep 20, 2020 18:19
Forum: Documentation
Topic: threadcreate()
Replies: 6
Views: 340

threadcreate()

No problem with the existing text.


Perhaps add a small note to resolve a question asked of me:

The arguments passed to threadcreate() are not expected to match the arguments to be passed to the sub() used in the new thread.
Your sub() - as a thread - must handle or ignore that pointer.

david
by speedfixer
Sep 12, 2020 17:02
Forum: Beginners
Topic: Initialising an array with many empty elements
Replies: 15
Views: 466

Re: Initialising an array with many empty elements

If this is support for a distributed application: Define/undefine would require shipping a different exe file to your customer to troubleshoot. Not good. A resource data set could be enabled with a proper commandline tail provided to the customer when needed. At least this would instill some extra c...
by speedfixer
Aug 06, 2020 16:54
Forum: Beginners
Topic: Stuck writing a simple bit toggle routine
Replies: 19
Views: 723

Re: Stuck writing a simple bit toggle routine

Question to all: I have been using code like this for awhile - but much more complex. It is in a key event thread. As an example of bit flags, unions, etc - - - anyone see problems with this code? ' bitflags.bas type bflags union allflags as ulong type f1:1 as boolean f2:1 as boolean toohot:1 as boo...

Go to advanced search