Search found 1977 matches

by srvaldez
Aug 05, 2019 13:00
Forum: Tips and Tricks
Topic: StringArray Sort (case independent)
Replies: 80
Views: 2358

Re: StringArray Sort (case independent)

on Windows, perhaps use stricmp (not sure if it's available in plain C)
by srvaldez
Jul 26, 2019 14:02
Forum: General
Topic: How to draw simple scatterplot with GSL
Replies: 8
Views: 299

Re: How to draw simple scatterplot with GSL

I was not aware of GSL Shell, but as the name implies, it's a an interactive shell giving you easy access to GSL functions, but it's not part of the GSL library. The graphics module in GSL Shell is implemented using the excellent Anti-Grain Geometry library, version 2.5, of Maxim Shemanarev. btw, if...
by srvaldez
Jul 26, 2019 13:30
Forum: General
Topic: How to draw simple scatterplot with GSL
Replies: 8
Views: 299

Re: How to draw simple scatterplot with GSL

I am not aware of GSL having any plotting functions, the only examples I have seen use gnuplot to do the plotting.
by srvaldez
Jul 26, 2019 12:21
Forum: General
Topic: Simple Barchart with Dislin error
Replies: 5
Views: 213

Re: Simple Barchart with Dislin error

I think that you need to install the libraries, probably in /usr/local/lib , after installing the libs, you may also need to issue the command:
sudo ldconfig
or you could install the libs in /usr/local/lib/freebasic, but this is not the norm
by srvaldez
Jul 26, 2019 0:50
Forum: General
Topic: Simple Barchart with Dislin error
Replies: 5
Views: 213

Re: Simple Barchart with Dislin error

not tested, try #include once "dislin.bi" METAFL ("CONS") DISINI NAME ("X-axis", "X") NAME ("Y-axis", "Y") TITLIN ("This is a Title", 2) DIM intarr(...) as DISLIN_TYPE = {1,2,3,4,5,6} QPLBAR(@intarr(0), ubound(intarr)+1) END
by srvaldez
Jul 24, 2019 14:11
Forum: General
Topic: is there a *right* way to check for QNAN?
Replies: 11
Views: 1134

Re: is there a *right* way to check for QNAN?

please test the following program using the FB 32-bit compile command: FreeBASIC-1.06.0-win32\fbc -gen gcc -O 2 -w all nan-test.bas nan-test.bas Dim As Double x, y, t Dim As Integer i Print Print "START TEST #1:"; x = 1.234567 y = 2.345678 t = Timer For i = 1 To 100000000 x = x * y Next t ...
by srvaldez
Jul 24, 2019 0:49
Forum: General
Topic: is there a *right* way to check for QNAN?
Replies: 11
Views: 1134

Re: is there a *right* way to check for QNAN?

if you are using the 32-bit compiler then it would be to your advantage to test for conditions that may produce a NaN and avoid producing them, the Intel FPU is incredibly slow dealing with NaN's, in 64-bit it's ok, most likely because SSE is used. see https://randomascii.wordpress.com/2012/05/20/th...
by srvaldez
Jul 23, 2019 17:56
Forum: Beginners
Topic: Advantages of different GUI libraries
Replies: 18
Views: 628

Re: Advantages of different GUI libraries

if your platform is Windows and you are not concerned with cross platform, then I recommend WinFBE viewtopic.php?f=8&t=25215
it's like Visual Basic, very intuitive.
by srvaldez
Jul 21, 2019 8:38
Forum: Game Dev
Topic: Physics question
Replies: 55
Views: 1572

Re: Physics question

@badidea
I ran your program from post viewtopic.php?p=262619#p262619 on macOS, it flickers a lot
in line 132, if you place clearscreen(0) after screenlock then it's ok
by srvaldez
Jul 20, 2019 0:02
Forum: Game Dev
Topic: Physics question
Replies: 55
Views: 1572

Re: Physics question

deltarho[1859] wrote:I also noticed short oblique lines on the screen as if it was raining so something untoward is going on with the graphics.

that I believe is by design, look at the code for rain.
by srvaldez
Jul 19, 2019 23:19
Forum: Game Dev
Topic: Physics question
Replies: 55
Views: 1572

Re: Physics question

it works poorly on my Windows 10 VM, dragging the red ball it not at all smooth
on the other hand it works smoothly on macOS, however if I drag the red dot around and around, the CPU usage rises to 92%
by srvaldez
Jul 19, 2019 11:01
Forum: Community Discussion
Topic: VBScript editor
Replies: 0
Views: 349

VBScript editor

I accidentally came across this editor VbsEdit, it is commercial product, but there's no time limit on the evaluation version. VbsEdit supports VBScript with syntax coloring, Intellisense, code snippets what I think some of you may find of interest is the nice help file, it's a nice reference to not...
by srvaldez
Jul 17, 2019 13:49
Forum: Community Discussion
Topic: no Windows system sounds after update
Replies: 4
Views: 325

Re: no Windows system sounds after update

it seem that uninstalling or at least disabling OneDrive is the way to go.
I think it's sync settings https://support.microsoft.com/en-us/hel ... c-settings
by srvaldez
Jul 17, 2019 13:18
Forum: Community Discussion
Topic: no Windows system sounds after update
Replies: 4
Views: 325

Re: no Windows system sounds after update

I have two virtual machine software products on my Mac, Parallels Desktop and VMware fusion, I have VM's for both now the Windows 10 VM's are all loosing the system sound settings, I noticed that some settings are stored on the cloud, for example the desktop background and I am concerned that some v...

Go to advanced search