Search found 215 matches

by speedfixer
Oct 20, 2017 22:51
Forum: Community Discussion
Topic: Most important concepts to learn for a new developer (Top 50)
Replies: 30
Views: 777

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: 30
Views: 777

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

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

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

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

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

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

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

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

Re: OpenCL (Open Coumputer Language) for FreeBASIC .

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

Thanks
by speedfixer
Sep 28, 2017 18:04
Forum: Libraries
Topic: OpenCL (Open Coumputer Language) for FreeBASIC .
Replies: 34
Views: 1749

Re: OpenCL (Open Coumputer Language) for FreeBASIC .

Hi, Joshy I use Linux: Lubuntu 16-04 x86_64 GeForce GTX 560 Ti CUDA Cores: 384 NVIDIA Driver Version: 375.66 clinfo reports my card is present, etc. : 2.1 capability A previous post suggested these object files could be used with Linux, also. True? added to test01.bas: #libpath "/rdkl/FB/OpenCL...
by speedfixer
Sep 23, 2017 17:07
Forum: Documentation
Topic: MULTIKEY missing on page FBWiki : CatPgInput [SOLVED]
Replies: 49
Views: 721

FLAME

The op might be satisfied. " User Input Statements and procedures that get input from the user. " These are the first lines of the page he referenced. Mouse input is NOT input from the user? Why do you always first have to say 'NO' ? Why do you have to make the new people work so hard? The...
by speedfixer
Sep 22, 2017 22:52
Forum: Linux
Topic: console/terminal on program exit
Replies: 36
Views: 1849

Re: console/terminal on program exit

This problem should be called: fail to reset console properly on return from graphics window (in Linux) Thread fixes in the interim have improved the original problem I reported. I recently discovered another cause of this problem. I hit this trouble again - chased it a little bit - again. Tried a c...
by speedfixer
Sep 12, 2017 2:12
Forum: Documentation
Topic: string index operator []
Replies: 1
Views: 155

string index operator []

On the Operators List page, there is a reference to the string index operators []. At page https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgOpStringIndex there is a reference at the bottom to the String Operators page. At that page https://www.freebasic.net/wiki/wikka.php?wakka=CatPgOpString thes...
by speedfixer
Aug 31, 2017 5:57
Forum: Community Discussion
Topic: Making FreeBasic appealing to a wider audience
Replies: 152
Views: 4602

Re: Making FreeBasic appealing to a wider audience

This can be done immediatley: Single install package of FB language with MODERN IDE - WinFBE At least one segment can receive an improvement NOW. Make it really easy. All paths verified, etc. Install scripts can even advise what might be missing. I'm sure there are several that would be more than wi...

Go to advanced search