Search found 288 matches

by speedfixer
Mar 22, 2019 7:24
Forum: Documentation
Topic: topic proposal: differences/changes when you move to multithread
Replies: 15
Views: 873

Re: topic proposal: differences/changes when you move to multithread

Globals are like goto and BASIC : some programming GOD somewhere said they are evil and bad, and the 'educated' people teach that over and over. But at one time, every teacher told their students the earth was flat. Mr. Torvalds has loudly disagreed with the opinion regarding that first term; we all...
by speedfixer
Mar 20, 2019 22:29
Forum: Projects
Topic: Include Digger
Replies: 30
Views: 4493

Re: Include Digger

Questions:

Does this just catalog the .../freebasic/inc folder?

Can it start with a source file and THEN catalog all source derived from that source?

david
by speedfixer
Mar 20, 2019 17:13
Forum: Documentation
Topic: topic proposal: differences/changes when you move to multithread
Replies: 15
Views: 873

Re: topic proposal: differences/changes when you move to multithread

That code as an example of thread usage is EXCELLENT.

Simple, uncomplicated, zero extra 'noise' added to distract from the example.

I wish more sample code was like this.
by speedfixer
Mar 18, 2019 18:38
Forum: Documentation
Topic: topic proposal: differences/changes when you move to multithread
Replies: 15
Views: 873

Re: topic proposal: differences/changes when you move to multithread

When threads become fundamental in your programming techniques, it seems almost an art when you try to explain it to a newcomer: there are SO MANY traps, pitfalls, caveats, blind spots and simple hard-to find errors that make the learning curve so very steep. Perhaps thread learning can be divided u...
by speedfixer
Mar 18, 2019 17:56
Forum: Projects
Topic: BASIC Studio for Linux (in development)
Replies: 127
Views: 7799

Re: BASIC Studio for Linux (in development)

I was excited; now I'm disappointed.

I was looking forward to an FB only effort.

david
by speedfixer
Sep 14, 2018 8:15
Forum: Community Discussion
Topic: Feature request: instrisic Defines for console / gui mode
Replies: 60
Views: 3089

Re: Feature request: instrisic Defines for console / gui mode

I program in Linux only, but ...

I simply ask SCREENINFO about the driver.

If it is an empty string, I am in console.
(Some of the other info also confirns NOT graphics, but this is the easiest.)

Does that work in Windows, also?


David
by speedfixer
Aug 02, 2018 17:24
Forum: General
Topic: Slow opening and closing of files
Replies: 26
Views: 1156

Re: Slow opening and closing of files

I like the idea that metadata AND directory size would be the major reasons for the slow open/close operations. If the the filesystem is the way you want to manage your data - for whatever reason - perhaps a ramdisk is your answer. It is trivial in Linux, not hard in Windows. You can do a mount with...
by speedfixer
Jul 30, 2018 16:28
Forum: General
Topic: Error: expected "="
Replies: 4
Views: 477

Re: Error: expected "="

Hi, PIBasic, Welcome to FreeBASIC.

Simply: there is no FB 'pause' command

Perhaps you wanted: sleep?


David
by speedfixer
Jun 30, 2018 17:29
Forum: Documentation
Topic: topic proposal: SPEED
Replies: 1
Views: 460

topic proposal: SPEED

Sooner or later, everyone wants their program to execute faster. And, perception of language speed does influence choice of language for a project. WE know FB is fast. A beginner or even a good programmer in another language may not appreciate how fast FB really can be. (Someone: coding more tasks a...
by speedfixer
Jun 28, 2018 19:56
Forum: Documentation
Topic: sub/function as datatype
Replies: 46
Views: 3296

Re: sub/function as datatype

Thank you, both.
by speedfixer
Jun 27, 2018 8:31
Forum: Documentation
Topic: sub/function as datatype
Replies: 46
Views: 3296

Re: sub/function as datatype

Perhaps. But gfxlib and default palette would be missed by most if it were not on the PALETTE page. Opengl and pixel formats are on the SCREEN page. More. If it helps someone to understand better how to use the power of FB, isn't that enough reason to include a link? I agree, generally, a keyword pa...
by speedfixer
Jun 26, 2018 21:41
Forum: Documentation
Topic: sub/function as datatype
Replies: 46
Views: 3296

Re: sub/function as datatype

Good start. Thank you. -------------------- Perhaps the title 'Class types' could be changed in the future to 'Complex types'. Then any non-simple, non-basic type could be listed there, also. I have no problem with a duplicate reference in different places on the same page. Obvious that a class is a...
by speedfixer
Jun 26, 2018 19:26
Forum: Documentation
Topic: sub/function as datatype
Replies: 46
Views: 3296

Re: sub/function as datatype

Very good. I missed that reference page. ANY reference toward something is better than none. Putting the possibility of using a function as a type in the first level pages can at least start someone down the road. With some inspiration and imagination of some of the new, young people out there, a be...
by speedfixer
Jun 26, 2018 16:09
Forum: Documentation
Topic: sub/function as datatype
Replies: 46
Views: 3296

sub/function as datatype

page https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgDim contains reference to https://www.freebasic.net/wiki/wikka.php?wakka=DataType This page has references to: https://www.freebasic.net/wiki/wikka.php?wakka=CatPgStdDataTypes https://www.freebasic.net/wiki/wikka.php?wakka=CatPgUserDefTypes Da...
by speedfixer
Jun 22, 2018 20:30
Forum: Windows
Topic: Need new gfxlib driver for Windows 7, 8, 10
Replies: 12
Views: 1226

Re: Need new gfxlib driver for Windows 7, 8, 10

having gfxlib work with SDL or Vulcan?

now THIS is an exciting topic!

Go to advanced search