Search found 220 matches

by speedfixer
Nov 09, 2017 22:09
Forum: Documentation
Topic: -pp compiler option
Replies: 36
Views: 567

Re: -pp compiler option

St_W: I was not aware that more than one file could result from that option. On this, I stand corrected. I NEVER complicate a compile with multiple command line entries: there are enough bugs left in the compiler set to not ask for more trouble. When my source files - with all library inclusions - w...
by speedfixer
Nov 09, 2017 19:43
Forum: Documentation
Topic: -pp compiler option
Replies: 36
Views: 567

Re: -pp compiler option

OK, fxm, we do this again. You have to reject almost every offer of a solution from anyone and make a suggestion that is more complex or completely escape the intent of the suggestion: MAKE IT EASIER TO UNDERSTAND WITH LESS WORK FOR A BEGINNER The request was to make it CLEAR and SIMPLE that a singl...
by speedfixer
Nov 09, 2017 18:35
Forum: Documentation
Topic: -pp compiler option
Replies: 36
Views: 567

Re: -pp compiler option

How about from:

A pre-processed version of every input source.bas is generated, named source.pp.bas.


to:

A pre-processed version of every input source.bas is generated - a single file - named <source>.pp.bas.


David
by speedfixer
Nov 02, 2017 0:21
Forum: Linux
Topic: console/terminal on program exit
Replies: 37
Views: 2002

Re: console/terminal on program exit

Still have this problem occassionally - user threads or no user threads. I think it is just some complexity in Linux in correctly resetting the console/terminal when the graphics close. I am now using: dim as integer fnum, status screen 0 fnum = freefile open pipe "tput reset &" for in...
by speedfixer
Nov 01, 2017 20:55
Forum: Beginners
Topic: PATH for include files
Replies: 6
Views: 279

Re: PATH for include files

Vanya There are several descriptions for 'standard' or typical library organizations for Linux. Search the web. Each OS may still use some other organization. Linux has several methods to locate or list paths. Of course, you do have to go to the OS. 'which' is the most used command in console to fin...
by speedfixer
Oct 20, 2017 22:51
Forum: Community Discussion
Topic: Most important concepts to learn for a new developer (Top 50)
Replies: 34
Views: 1113

Re: Most important concepts to learn for a new developer (Top 50)

Perhaps almost as valuable as the important concepts might be a list of most frequent errors, and most frequent frustrations. We have all run into them, and most of us still do.

Sometimes, just having seen what troubles others have can help a person avoid those same troubles very early in the game.
by speedfixer
Oct 20, 2017 21:21
Forum: Community Discussion
Topic: Most important concepts to learn for a new developer (Top 50)
Replies: 34
Views: 1113

Re: Most important concepts to learn for a new developer (Top 50)

Perhaps a little off-topic. I think the 50+ yo posters may be remembering back to the days when learning to program was the goal, and BASIC allowed them to see results quickly and inexpensively. You did NOT have to pay anyting extra: most of the small systems had a BASIC that either came with or was...
by speedfixer
Oct 10, 2017 20:39
Forum: Documentation
Topic: Sizeof
Replies: 10
Views: 333

Re: Sizeof

Thank you.

I just saves some time and trouble when you need to know.
Example is interfacing directly with an external library.
by speedfixer
Oct 03, 2017 15:57
Forum: Documentation
Topic: Sizeof
Replies: 10
Views: 333

Re: Sizeof

Description and other notes at 'typeof' are fine - no change requested there.
by speedfixer
Oct 03, 2017 15:35
Forum: Documentation
Topic: Sizeof
Replies: 10
Views: 333

Re: Typeof

' size_of.bas ' test the return type of 'sizeof' dim as byte bbb dim as integer iii dim as long lll #print typeof(sizeof(iii)) #print typeof(sizeof(lll)) bbb = sizeof(iii) print bbb bbb = sizeof(lll) print bbb Later: corrected Yes, I see, this proves type of 'sizeof'. (Yours tells us the type of a ...
by speedfixer
Oct 03, 2017 4:35
Forum: Documentation
Topic: Sizeof
Replies: 10
Views: 333

Sizeof

It would save some people a little time if it could be noted that this is an integer return.

The type makes a difference to some externals and header declarations.



Thank you.


David


correction: changed topic to 'sizeof'
by speedfixer
Sep 29, 2017 23:44
Forum: Libraries
Topic: OpenCL (Open Coumputer Language) for FreeBASIC .
Replies: 34
Views: 1887

Re: OpenCL (Open Coumputer Language) for FreeBASIC .

Hi, Mike To tell the truth, I have no clue which I chose: I simply selected from Synaptic those that looked appropriate. I'm in Lubuntu (call it little Ubuntu - same kernel,smaller/lighter desktop, etc.) If you are NOT in an Ubuntu system, let me know. Also, tell me what video card you have and its ...
by speedfixer
Sep 28, 2017 22:35
Forum: Libraries
Topic: OpenCL (Open Coumputer Language) for FreeBASIC .
Replies: 34
Views: 1887

Re: OpenCL (Open Coumputer Language) for FreeBASIC .

For the demo in the first post, line 46 produced a warning: wrong type - parameter 6.

I simply remarked it out, since it looked like a corrected line was in line 49.

Is that correct?
by speedfixer
Sep 28, 2017 22:07
Forum: Libraries
Topic: OpenCL (Open Coumputer Language) for FreeBASIC .
Replies: 34
Views: 1887

Re: OpenCL (Open Coumputer Language) for FreeBASIC .

Simply needed to install the dev packages, that's all. (removed all my edits - did NOT need the -p ... path add to the compile command) So: Linux 4.10.35 - Lubuntu 16.04 Processor : 6x AMD FX(tm)-6100 Six-Core Processor: 3300.00MHz Memory : 8142MB (1818MB used) GeForce GTX 560 Ti test01: 1470+ frame...
by speedfixer
Sep 28, 2017 21:54
Forum: Libraries
Topic: OpenCL (Open Coumputer Language) for FreeBASIC .
Replies: 34
Views: 1887

Re: OpenCL (Open Coumputer Language) for FreeBASIC .

OK. I will play a bit and see how to do it all.

Thanks

Go to advanced search