Search found 2885 matches

by MrSwiss
Feb 09, 2019 15:59
Forum: Beginners
Topic: How to reset the value when using input
Replies: 22
Views: 405

Re: How to reset the value when using input

Leave it, as is ... (aka: no need for change)

Reason: the only person here, that has mastered the Art of complexifying everything,
instead of keeping simple things the way they are, should not be the "yardstick" ...
by MrSwiss
Feb 09, 2019 15:14
Forum: Beginners
Topic: How to reset the value when using input
Replies: 22
Views: 405

Re: How to reset the value when using input

To get back OT (... when using input), by leaving it to input, to deal with it: Function main_menu() As String Dim As String choice, room = "" While room = "" ' run until we have a useful answer Cls choice = "" ' assure a empty string Print "welcome to this thing&q...
by MrSwiss
Feb 07, 2019 14:10
Forum: Tips and Tricks
Topic: Image Painting Demos [Windows only]
Replies: 22
Views: 622

Re: Image Painting Demos [Windows only]

UEZ wrote:Please do not reply such comments in my topic anymore.

No problem, provided that you in future, keep your "Libraries code" out of all threads,
that are not your own ... because that's become very, very annoying!
by MrSwiss
Feb 07, 2019 13:37
Forum: Documentation
Topic: Windows bug for small screens / fullscreen
Replies: 24
Views: 530

Re: Windows bug for small screens / fullscreen

Well then, that seems to confirm the issue being related to: high DPI settings ...
by MrSwiss
Feb 07, 2019 13:27
Forum: Tips and Tricks
Topic: Image Painting Demos [Windows only]
Replies: 22
Views: 622

Re: Image Painting Demos [Windows only]

UEZ wrote:Why?
You may want to become a "Programmer" and, not just stay put as "Library Linker".
by MrSwiss
Feb 07, 2019 13:21
Forum: Documentation
Topic: Windows bug for small screens / fullscreen
Replies: 24
Views: 530

Re: Windows bug for small screens / fullscreen

Try 100% (M$'s recommendations are quite useless sometimes) because:
you can, at any later stage change back, if you don't like what you see ...
by MrSwiss
Feb 07, 2019 13:04
Forum: Tips and Tricks
Topic: Image Painting Demos [Windows only]
Replies: 22
Views: 622

Re: Image Painting Demos [Windows only]

<edit/>
by MrSwiss
Feb 07, 2019 12:36
Forum: Documentation
Topic: Windows bug for small screens / fullscreen
Replies: 24
Views: 530

Re: Windows bug for small screens / fullscreen

Seems to me, to be a "high DPI" issue, rather than a bug.
Check Windows settings ... (if NOT set to: 100%)

Never had it in 1920 x 1080 (100%), but with 3200 x 1800 display.
(setting here, is 150%)
by MrSwiss
Feb 04, 2019 15:29
Forum: Hardware Interfaces / Communication
Topic: How can I listen and serve information over a TCP port? [Windows]
Replies: 4
Views: 226

Re: How can I listen and serve information over a TCP port? [Windows]

However, I've found whatever it does can be unreliable on some machines, and fail to return anything. Well, the first thing I'd investigate, whould be: "are my assuptions" regarding the way, the agent is "expected" to react, correct? (may not be the case) Before that, I'd not ev...
by MrSwiss
Feb 04, 2019 12:33
Forum: Libraries
Topic: libtcc 0.9.26 dynamic Windows Linux 32/64-bit.
Replies: 7
Views: 1405

Re: libtcc 0.9.26 dynamic Windows Linux 32/64-bit.

@gothon, your criticism below, in point 3) has the facts 'the wrong way around' , because: C's 'int' = FB's 'Long' (both 32 bit, fixed size) and, C's 'long' = FB's 'Integer' (both dynamic sizing, aka: Ptr size), exception is: WIN64 (API) See also: (data-type) comparison table, in the FB-Manual
by MrSwiss
Feb 03, 2019 0:19
Forum: General
Topic: RND breadth
Replies: 38
Views: 649

Re: RND breadth

You'll just have to realize, that it in fact does, nothing to be fixed, therefore.

Btw. the max. value of ULongInt = 2 ^ 64 - 1 or,
ULongInt = &hFFFFFFFFFFFFFFFF
by MrSwiss
Feb 03, 2019 0:05
Forum: General
Topic: RND breadth
Replies: 38
Views: 649

Re: RND breadth

if a do 512 loops of Int( RND * 256 ) it should chose each of 256 values , at least once.. No, this now relates to the randomizers randomness, meaning, you cannot know when a certain number appears. The only guaranteed fact is, that it eventually will appear ... provided, you run the randomizer for...
by MrSwiss
Feb 02, 2019 23:53
Forum: General
Topic: RND breadth
Replies: 38
Views: 649

Re: RND breadth

Nope, not true and, counting_pine's code proofes that ... Rnd gives values between 0.000....... and 0.99999999......... (but never reaching 1.0), which is denoted by inteval [0, 1). The lowest generated value is greater than 9 digits... This has no relation to the value, that's returned. (because yo...
by MrSwiss
Feb 02, 2019 22:55
Forum: General
Topic: RND breadth
Replies: 38
Views: 649

Re: RND breadth

... modified to return the lowest value randomly selected. Sorry mate, but the fault is in your code: const N = (2^64)ull ' we want ULongInt here const q0 = 0ull, q1 = N/4ull, q2 = N/2ull, q3 = N*3/4ull, q4 = N dim as integer r1, r2, r3, r4 ' don't use signed "integer" type (above is unsi...
by MrSwiss
Jan 31, 2019 19:21
Forum: Windows
Topic: OEM DOS font in Windows Edit control [formerly DJ Peters] [solved]
Replies: 11
Views: 468

Re: DJ Peters

@albert, Draw String is, by default "graphics screen" and NOT console ... I need to get all 256 DOS chars to display in a Windows "EDIT Control" What doesn't exist can't be used, it's as simple as that. IIRC, we've had that discussion already some time ago and, nothing has change...

Go to advanced search