Search found 3042 matches

by MrSwiss
Jun 21, 2019 16:51
Forum: Community Discussion
Topic: fb 1.07 tests
Replies: 12
Views: 528

Re: fb 1.07 tests

Since the above mentioned changes, have been committed to "master", we can
safely expect, that this won't change quickly, again. (Targets mentioned: DOS/WIN)
I suppose it is only relevant to the "standalone" builds ...
by MrSwiss
Jun 20, 2019 23:57
Forum: Community Discussion
Topic: fb 1.07 tests
Replies: 12
Views: 528

Re: fb 1.07 tests

+- github #141: introduced '-strip'/'-nostrip' options to control symbol stripping of output files (William Breathitt Gray) +- github #141: fbc will default to stripping symbols if '-d ENABLE_STRIPALL' is passed in FBCFLAGS (William Breathitt Gray) +- github #141: makefile option 'ENABLE_STRIPALL=1...
by MrSwiss
Jun 19, 2019 21:40
Forum: General
Topic: Bit strings ? ( "Bit string datatype" )
Replies: 7
Views: 249

Re: Bit strings ? ( "Bit string datatype" )

Seems to me, that what you are looking for, is probably best described as "BitField".

The manipulators (in code) whould therefore be: BitSet()/BitReSet() ...

E.g. in a UShort you can store 16 different (Boolean) instances. ULong = 32 e.t.c..
(remark: a 1 means TRUE, a 0 means FALSE)
by MrSwiss
Jun 19, 2019 14:21
Forum: General
Topic: Bit strings ? ( "Bit string datatype" )
Replies: 7
Views: 249

Re: Bit strings ?

I would like to spare significant amount of memory and rapidly increase the speed of computations. You won't achieve any one of the two because: 1) String uses more memory, than binary numbers (int/float). 2) String calculations must be coded by yourself entirely. This then means: hardly likely to ...
by MrSwiss
Jun 18, 2019 18:55
Forum: Linux
Topic: using long double in FB
Replies: 19
Views: 784

Re: using long double in FB

... but how do I determine whether Allocate or Callocate is appropriate ? Well, depends on use as well as personal preference. For allocating memory to e.g. ZString Ptr, I personally prefer CAllocate, because all allocated memory is zero'ed, which means I don't have to care at the string's end addi...
by MrSwiss
Jun 15, 2019 22:35
Forum: General
Topic: Squares
Replies: 6658
Views: 376744

Re: Squares

bye, bye alfred ...

Have you ever taken the pain, to read up on all topics, we've linked for you?

I very much daubt it, because your crappy answers come by far, too fast ...
by MrSwiss
Jun 15, 2019 22:17
Forum: General
Topic: Squares
Replies: 6658
Views: 376744

Re: Squares

You obviously have no clue about "hardness", which by the way, doesn't play any part in this sort of equation ... (what is more releveant is the " density " of the material). It whould probably be better for you, to go back to write: music/lyrics because, physics is certainly not...
by MrSwiss
Jun 15, 2019 22:06
Forum: General
Topic: Squares
Replies: 6658
Views: 376744

Re: Squares

Then you mul that by the 4.68 hardness of the wineglass ... Who told you that this is connected, by a simple multiplication? (This is usually the point, where you loose it all, by such sensless assumptions/guesses!) If you want to shutter the glass, it depends very well on Frequency ... (every mate...
by MrSwiss
Jun 15, 2019 21:02
Forum: General
Topic: Squares
Replies: 6658
Views: 376744

Re: Squares

No, you won't this way, because you are again, mixing up things, that have basically
nothing in common (pressure of Air, then Glass filled partly with Water, which Btw.
reacts to a certain Frequency at a specified minimal Sound-Pressure).
by MrSwiss
Jun 15, 2019 20:25
Forum: General
Topic: Squares
Replies: 6658
Views: 376744

Re: Squares

The only relevant and also measurable value of sound is Sound-/Accoustic- Pressure . Since it is "pressure" the unit of measurement, is Pascal/ * Hecto-Pascal/Kilo-Pascal. A Hecto-Pascal is equivalent to 1 Milli-Bar (1000 hPa = 1 Bar). * Hecto-Pascal, aka: hPa is mainly used, to describe A...
by MrSwiss
Jun 15, 2019 12:16
Forum: General
Topic: Squares
Replies: 6658
Views: 376744

Re: Squares

What about InvSquare (as in: "inverted square")?

Code: Select all

' for more efficiency:
function InvSquare(Byval a as single) as single
    return sgn(a) * a * a
end function
by MrSwiss
Jun 14, 2019 22:35
Forum: General
Topic: Squares
Replies: 6658
Views: 376744

Re: Squares

@albert,

you might as well stop, to pollute this forum/thread, with your hallucinations.

Whatever you are smoking/throwing/sniffing must be very bad stuff ... I'd stop that, too.
(Whould be better for your health also.)
by MrSwiss
Jun 13, 2019 22:36
Forum: Community Discussion
Topic: FBC's Cairo clock example error
Replies: 52
Views: 1438

Re: FBC's Cairo clock example error

Really cool (mainly the idea) <lol>
by MrSwiss
Jun 13, 2019 12:37
Forum: Community Discussion
Topic: FBC's Cairo clock example error
Replies: 52
Views: 1438

Re: FBC's Cairo clock example error

@badidea, while your clock is looking good, it does however, have a technical problem ... Looking at your posted pic. I'll try to explain: Time shown: 23:46:33 Minute hand pos. is about half a minute 'off' from where it should be (half way to 47) Hour hand pos. is about 3/4 of distance 'off' from wh...
by MrSwiss
Jun 11, 2019 12:27
Forum: General
Topic: Squares
Replies: 6658
Views: 376744

Re: Squares

I have to disagree with what's been said about US engineers. I'm used to work with some of them (in degrees C, meters e.t.c.) without any problems, in a really strictly regulated environment (EPA 40, CFR 1065), where all units are given in SI conforming ways. (Btw. there was even a Presidential Decr...

Go to advanced search