Search found 2984 matches

by MrSwiss
Feb 27, 2019 23:16
Forum: Tips and Tricks
Topic: DrawRhomb() Sub (with rotate)
Replies: 0
Views: 386

DrawRhomb() Sub (with rotate)

Hi all, this Sub draws a Rhomb(us), aka: Diamond or Lozenge. Defined by the parameters: xc, yc (2D center/center params.) as well as, wid, hei (width/height params.). The Rhomb can be rotated, changing the ang (le) parameter (optional). bcl, fcl (Border-/Fill-Color) and a Boolean fll , to specify: f...
by MrSwiss
Feb 23, 2019 0:35
Forum: Beginners
Topic: FBeginner Preview
Replies: 130
Views: 46176

Re: FBeginner Preview

I spotted anything on website page forty four record 5.2 while you isolated the street you fail to depict the "cdecl" request and I couldn't see it wherever else inside the booklet. If you really want 'up to date' information, see: FB-Manual/cdecl There where plenty of changes in the comp...
by MrSwiss
Feb 21, 2019 15:29
Forum: Linux
Topic: Two fbgfx bugs on Linux
Replies: 8
Views: 627

Re: Two fbgfx bugs on Linux

One of the problems is, from my point of view the Main-Loop. It is clearly *hogging* the CPU ... I'd add a Sleep, to prevent that: Do 'ScreenSync ' is useless, on none CRT-Monitors Flip ' needed for OpenGL Sleep(16, 1) ' no CPU hogging (approx. 60 FPS) Loop Until InKey() <> "" ' decent way...
by MrSwiss
Feb 21, 2019 14:01
Forum: Windows
Topic: FBC Compile errors with GTK
Replies: 10
Views: 2223

Re: FBC Compile errors with GTK

JacquesInBrussels wrote:Rather unexpected and a bit stupid imho.

No, its *expected behaviour* because, the compiler uses the import lib and not
the .dll itself (lib'name'.dll.a, without [']). If the .dll is not in the 'path' or the
.exe's dir, then = not found ...

(Not at all a problem, of the IDE used!)
by MrSwiss
Feb 20, 2019 13:40
Forum: Tips and Tricks
Topic: Numerical optimizer
Replies: 25
Views: 1021

Re: Numerical optimizer

@dodicat,

your GoRC.exe problem is already solved ... see: Building FB 1.06 Release thread.
by MrSwiss
Feb 20, 2019 1:06
Forum: Tips and Tricks
Topic: Union as 'own' data-type
Replies: 0
Views: 382

Union as 'own' data-type

In this example a packed *BCD type is created, then used with the associated procedures (to the Union). *BCD = binary coded decimal (UByte with range: 0 To 99) BCD_u.bas: ' BCD_u.bas -- (c) 2019-02-20, MrSwiss ' ' compile: -s console ' ' BCD_u - union start Union BCD_u ' packed BCD union (value rang...
by MrSwiss
Feb 19, 2019 1:41
Forum: Community Discussion
Topic: Building FreeBASIC 1.06 Release
Replies: 46
Views: 3927

Re: Building FreeBASIC 1.06 Release

The direct download link is http://www.godevtool.com/Gorc.zip and in theory should give you the same issue, unless the file was compromised by its brief visit to my build system. Thanks for the link, this worked without problems (no message from Avira). It seems, it's related to the build process, ...
by MrSwiss
Feb 18, 2019 22:27
Forum: Community Discussion
Topic: Building FreeBASIC 1.06 Release
Replies: 46
Views: 3927

Re: Building FreeBASIC 1.06 Release

Does Avira remove it during a scan? Or just when it gets executed? No, the removal is instant, when extracting the .7z (with 7zip File Manager). It says, it's been put into "quarantine" ... Last time IIRC, I've sent it to manufacturer, who confirmed "false positive" and, adjuste...
by MrSwiss
Feb 18, 2019 20:28
Forum: Community Discussion
Topic: Building FreeBASIC 1.06 Release
Replies: 46
Views: 3927

Re: Building FreeBASIC 1.06 Release

Avira (anti virus) removes GoRC.exe, in both WIN32/WIN64, due to (probably) false positive.

Had that IIRC, with FBC's 1.04.0 too ...
(Probably works also, with the GoRC version from 1.05.0, as workaround.)
by MrSwiss
Feb 09, 2019 15:59
Forum: Beginners
Topic: How to reset the value when using input
Replies: 22
Views: 759

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

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

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

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

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

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 ...

Go to advanced search