Search found 2723 matches

by MrSwiss
Oct 17, 2018 13:40
Forum: General
Topic: Fast random integers
Replies: 29
Views: 426

Re: Fast random integers

Above is one of the exceptions, where data-type 'integer' fits the bill: ' here: the correct use of type 'integer': 4 byte (FBC32), 8 byte (FBC64) SwitchBufferCriteria = Cast(Integer, ptrBuffer) + BufferSize ' can be written shorter ... using CInt(), instead of Cast() SwitchBufferCriteria = CInt(ptr...
by MrSwiss
Oct 15, 2018 17:45
Forum: General
Topic: Declaring a Macro as global
Replies: 8
Views: 115

Re: Declaring a Macro as global

The simplest method, I'm aware of is:
put the Macro straight into the MAIN-code-file ... (Prj_MAIN.bas),
that makes it GLOBAL (to all the other included files also).
by MrSwiss
Oct 15, 2018 13:12
Forum: General
Topic: Where have I gone wrong
Replies: 133
Views: 2901

Re: Where have I gone wrong

@grindstone, a really bad idea, to advice on a library, that is non-free, for commercial use: ' Free for NON-comercial use! For comercial usage send me a mail -> FreeBasic[at]DeltaLabs.de , in the header of TSNE_V3.bi ... Also, due to it's age, probably only FBC32 (referres version 0.18.5 of compile...
by MrSwiss
Oct 14, 2018 13:09
Forum: Projects
Topic: FreeBASIC IDE with enhanced debugging and project features
Replies: 34
Views: 2821

Re: FreeBASIC IDE with enhanced debugging and project features

There seems to be a problem with some versions of the include files. The IDE expects all included files to have CR-LF line ends. CR or LF alone will cause malfunction. No, the problem (in this case) is the erroneous assumption, that line endings are M$ specific (which they are clearly not in FB, be...
by MrSwiss
Oct 11, 2018 13:15
Forum: General
Topic: GCC FDO
Replies: 5
Views: 165

Re: GCC FDO

Do you have the profiler (gprof) installed?
by MrSwiss
Oct 10, 2018 13:26
Forum: Community Discussion
Topic: New website
Replies: 34
Views: 3828

Re: New website

Yes, I also want to second, what's been stated so far: fxm / bcohio2001. And, I have a additional request: Please, get the [tt]-button to work again, as it did in the previous design: MONO-SPACED-FONT (tt = tele-type style) Which was really usefull, to explain coding mistakes (inside flowed text), w...
by MrSwiss
Oct 08, 2018 16:55
Forum: Community Discussion
Topic: Would anyone find a FreeBASIC vs JavaScript side-by-side series useful (+is it allowed here)?
Replies: 24
Views: 685

Re: Would anyone find a FreeBASIC vs JavaScript side-by-side series useful (+is it allowed here)?

This is an answer, to your question: NO (get out, it's: OFF TOPIC)

In case you've not noticed:
I consider it a: divide and conquer attempt (to use gaming language)!
(Like Lachie D. with FBGD, tried to do. Please, don't bother to answer.)
by MrSwiss
Oct 08, 2018 16:07
Forum: Community Discussion
Topic: Would anyone find a FreeBASIC vs JavaScript side-by-side series useful (+is it allowed here)?
Replies: 24
Views: 685

Re: Would anyone find a FreeBASIC vs JavaScript side-by-side series useful (+is it allowed here)?

Pritchard wrote:Having a thread be called pointless is a bit frustrating.
Just as much, as your recent threads/comments on this forum are, for others? (hopefully!)
by MrSwiss
Oct 07, 2018 17:41
Forum: Beginners
Topic: Importing C code into a FreeBasic program
Replies: 4
Views: 265

Re: Importing C code into a FreeBasic program

Just remember that C arrays start at 0 and FB arrays start at 1 ... This is definitely NOT correct , FB arrays by default start with 0 (same as C) unless, explicitly specified as: array( 1 to n). The difference is: in C the number specifies the number of elements, whereas in FB, you are defining th...
by MrSwiss
Oct 06, 2018 15:57
Forum: Community Discussion
Topic: Breaking NEWS (affecting all of us)
Replies: 4
Views: 242

Re: Breaking NEWS (affecting all of us)

dodicat wrote:Strangely enough I get a popup ...

There is a simple remedy, to related problems:
Install: NoScript *browser plugin* (I'm using FireFox).
Thereafter, the script starting the popup is simply *not allowed* to run.
Problem solved. (default setting in NoScript)
by MrSwiss
Oct 06, 2018 15:15
Forum: Community Discussion
Topic: Breaking NEWS (affecting all of us)
Replies: 4
Views: 242

Re: Breaking NEWS (affecting all of us)

Tim Berners-Lee, Director of the World Wide Web Consortium (W3C).
On: the Internet, for everyone, titled: One Small Step for the Web …
published: 2018-09-29, on Medium
by MrSwiss
Oct 06, 2018 15:09
Forum: Community Discussion
Topic: Breaking NEWS (affecting all of us)
Replies: 4
Views: 242

Breaking NEWS (affecting all of us)

Is it a Chinese, Government sponsored Attack, on the rest of the World?
Read the Article: The Big Hack
published: 2018-10-04, by Bloomberg Buisnessweek
by MrSwiss
Oct 05, 2018 14:42
Forum: Beginners
Topic: Some beginner questions
Replies: 5
Views: 365

Re: Some beginner questions

Since I can't decipher, to what your question is referring to ... (this ???)
Have a look at the FreeBASIC-Manual.

It is far better to 'spell it out' in detail, if you are expecting a decent answer,
that is relevant to the question. (See the opening post, of this thread!)
by MrSwiss
Oct 04, 2018 16:40
Forum: Beginners
Topic: Reading a text file into a string array
Replies: 14
Views: 324

Re: Reading a text file into a string array

The FB manual on: ReDim clearly states -- declaring a dynamic array.
Therefore, the 'mystery' claim, seems to be 'unfounded'!
by MrSwiss
Oct 04, 2018 11:15
Forum: General
Topic: 64-bit asm woes
Replies: 50
Views: 1351

Re: 64-bit asm woes

Sorry, you proposed to use 32-bit code inside 64-bit code Equally sorry, but you are quoting ' out of context '. As well as, freely interpreting things, the way you like. I can't help it, if you don't read ' until the end ' of a post: Unless you are able to provide the same ASM routines, optimized ...

Go to advanced search