Search found 283 matches

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

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: 740

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: 346

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: 302

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: 2200

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: 2200

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: 2200

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: 2200

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: 2200

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: 873

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

having gfxlib work with SDL or Vulcan?

now THIS is an exciting topic!
by speedfixer
Jun 22, 2018 19:43
Forum: Documentation
Topic: topic proposal: variables: globals, shared, private
Replies: 0
Views: 350

topic proposal: variables: globals, shared, private

New programmer: Everything declared in the main, everything shared. Simple. Textbook programmer: Everything encapsulated, nothing shared, everything referenced. SO MUCH to remember. Enthusiastic programmer: Everything pointered @. Can get to anything, anywhere, easily. So easy to segfault. None of t...
by speedfixer
Jun 22, 2018 19:27
Forum: Documentation
Topic: topic proposal: differences/changes when you move to multithread
Replies: 4
Views: 341

topic proposal: differences/changes when you move to multithread

Everyone WANTS to do it, but the learning curve seems too steep. Using multithreading(MT) is certainly a different way to think, and can be a very difficult concept to correctly appreciate the changes needed. Once simple code can seem to get 10 times more complicated. Many objections always thrown o...
by speedfixer
Jun 12, 2018 15:10
Forum: Community Discussion
Topic: Intel Free compilers
Replies: 5
Views: 649

Re: Intel Free compilers

Sure, if you will never run that code on an AMD chip.
by speedfixer
Jun 10, 2018 18:55
Forum: Linux
Topic: Best Distro for FB
Replies: 25
Views: 1860

Re: Best Distro for FB

Hi, lizard I read with interest your testing of Linux versions. Good info. My preference has been Lubuntu, but I admit I have not taken the trouble and work you have to test others. It is a somewhat minimal Ubuntu variety, so some extra work may be needed by the user. At least it uses the Ubuntu rep...
by speedfixer
May 31, 2018 0:25
Forum: Linux
Topic: Full Screen w/multiple monitors in Ubuntu
Replies: 5
Views: 463

Re: Full Screen w/multiple monitors in Ubuntu

Graphics in Linux without X-windows means you have to roll-your-own with another graphics library. No X-windows in Linux pretty much means no desktop environment. I doubt you want to reinvent all of those wheels. FB graphics aren't the best, but they are pretty fast. 1 - What do you want to do that ...

Go to advanced search