Search found 2854 matches

by MrSwiss
Dec 01, 2018 12:45
Forum: Tips and Tricks
Topic: Double to String, with rounding and ...
Replies: 4
Views: 382

Re: Double to String, with rounding and ...

dodicat, thanks for the input, code in first post fixed now.
Your math. is faster, but fails on constant decimals length (no necessary "0" appended) in fourth place.
by MrSwiss
Nov 30, 2018 14:21
Forum: Tips and Tricks
Topic: Double to String, with rounding and ...
Replies: 4
Views: 382

Re: Double to String, with rounding and ...

hello srvaldez, your license is very restrictive, why? personally, I like to share any code I write freely, ... Since I'm using FB for different purposes (commercial, recreational or just for fun/self education), code that I might later want to use in a commercial way, is restricted such, that I'm n...
by MrSwiss
Nov 28, 2018 17:42
Forum: Tips and Tricks
Topic: Double to String, with rounding and ...
Replies: 4
Views: 382

Double to String, with rounding and ...

This is an example of using String Functions (most of them), to do Double rounding to String, with arbitrary chosen (almost: 1 to 9), number of decimals. The intended purpose is mainly, to show many String Functions, in action. edit: updated 2018-11-30 (code, license terms) edit: updated 2018-12-01 ...
by MrSwiss
Nov 27, 2018 11:46
Forum: Community Discussion
Topic: Nominations for Forum Moderators
Replies: 70
Views: 3637

Re: Nominations for Forum Moderators

@coderJeff,

this thread, should be moved to News section for visibility to all, as well as to NOT
be always hidden again, by newer posts in Community Discussion section.
(the typical drawbacks, of a 'open' Forum)
by MrSwiss
Nov 24, 2018 21:00
Forum: Projects
Topic: GooData: diagrams for screen / printer / files
Replies: 11
Views: 1365

Re: GooData: diagrams for screen / printer / files

OK got it from GIT, it says 'Lesser GPL', which I find somewhat confusing,
should read 'LGPL', IMO. Apologies.
by MrSwiss
Nov 24, 2018 20:39
Forum: Projects
Topic: GooData: diagrams for screen / printer / files
Replies: 11
Views: 1365

Re: GooData: diagrams for screen / printer / files

Code: Select all

' This is file ex_3d_perpens.bas
'
' Licence: GPLv3
' (C) 2012 Thomas[ dot ]Freiherr[ at ]gmx[ dot ]net
Isn't this clear enough?
by MrSwiss
Nov 24, 2018 20:17
Forum: Beginners
Topic: Using COLOR() function
Replies: 9
Views: 283

Re: Using COLOR() function

No problem, if the problem is 'spelled out' like it was here ...
by MrSwiss
Nov 24, 2018 20:09
Forum: Projects
Topic: GooData: diagrams for screen / printer / files
Replies: 11
Views: 1365

Re: GooData: diagrams for screen / printer / files

@TJF, your Libraries do all have a problem and that is, the licensing under GPLv3. This may also be the reason, why it is so difficult (for you) to get any collaborators on them. I'd not use any of them, if I could not use them in commercial applications, without having to disclose its source (sourc...
by MrSwiss
Nov 23, 2018 21:41
Forum: General
Topic: Is there existing an inputroutine?
Replies: 46
Views: 1093

Re: Is there existing an inputroutine?

I wrote one wich have only the Backspace key, and I don't get it better. Well, in console mode, there is not much more, that can be done. In GUI mode, you could use a existing library, like WinGUI which has a Edit-Control. Some Edit... Functions (essentially the same, just returning different varia...
by MrSwiss
Nov 23, 2018 20:54
Forum: Beginners
Topic: Using COLOR() function
Replies: 9
Views: 283

Re: Using COLOR() function

BasicCoder2 wrote:Also the Help example uses uinteger instead of ulong

Replace 'Integer' with 'ULong' updated example code
by MrSwiss
Nov 23, 2018 18:24
Forum: General
Topic: Is there existing an inputroutine?
Replies: 46
Views: 1093

Re: Is there existing an inputroutine?

@Joshy, thanks.

@Jawade,
which OS are you using? (WIN/LIN/other, please specify)
Console or Graphics (GUI)?
by MrSwiss
Nov 23, 2018 17:08
Forum: General
Topic: Is there existing an inputroutine?
Replies: 46
Views: 1093

Re: Is there existing an inputroutine?

Since I don't really understand your question, can you provide some code,
which highlights the problem, you are having?

See also: FB-Manual/Input
by MrSwiss
Nov 23, 2018 13:54
Forum: General
Topic: Fixed Length String handling
Replies: 39
Views: 752

Re: Fixed Length String handling

Munair wrote:It seems you still do not understand the difference.
I do, but it seems you ???
Since you are so brilliant, I'll leave it to you, to fix your problem
(others don't seem to have it).
by MrSwiss
Nov 23, 2018 13:33
Forum: General
Topic: Fixed Length String handling
Replies: 39
Views: 752

Re: Fixed Length String handling

Sorry, but ZString * 21 IS a fixed size (don't rely on comments/print out's, in such quick hacks).

Please read the code more carefully ...
by MrSwiss
Nov 23, 2018 13:22
Forum: General
Topic: Fixed Length String handling
Replies: 39
Views: 752

Re: Fixed Length String handling

No, the confusion seems to be on your end ... A uninitialized ZString's len = 0 (even if allocated 21 bytes), since it hit's the Terminator (NULL / ZERO) straight away! (initialized probably with: CAllocate) Dim As ZString * 21 sz ' useful len = 20 Print "ZString * 21" Print "Len(): &...

Go to advanced search