Search found 99 matches

by Cedron
Wednesday 21st August 2019 11:49am
Forum: General
Topic: Strange Stuff with the Gambas editor
Replies: 2
Views: 30

Re: Strange Stuff with the Gambas editor

I have Mint 19 Mate installed on a different computer. I had some serious display problems until I installed the Qt5 packages. On my Mint 17 Mate machine, occasionally, and very occasionally, clicking the mouse in the edit area is ineffective. The solution that seems to work is to click somewhere el...
by Cedron
Monday 19th August 2019 4:14pm
Forum: General
Topic: Using Settings File
Replies: 1
Views: 28

Using Settings File

This is forwarded from: https://forum.gambas.one/viewtopic.php?f=4&t=735&start=20 (New topics deserve new threads.) So I looked into this: http://gambaswiki.org/wiki/comp/gb.settings/settings and this seems like it could only handle form Objects... It's probably obvious for you guys where I'm trying...
by Cedron
Wednesday 14th August 2019 1:36pm
Forum: General
Topic: 1st Time User Gambas Questions(Former VB6 user)
Replies: 22
Views: 513

Re: 1st Time User Gambas Questions(Former VB6 user)

I'm relieved to see a fellow VB user on this forum, I can relate to your experiences and somewhat understand your opinions of comparing Gambas and VB. To answer your curiosity, people on other programming communities explain tests being done with comparing UDTs vs Classes, UDTs speeds are faster th...
by Cedron
Wednesday 14th August 2019 1:35pm
Forum: General
Topic: When you have been using Gambas for years...
Replies: 1
Views: 88

Re: When you have been using Gambas for years...

Okay, what did you smack your forehead over?

Did you discover bit twiddling? The "true" true is -1?

Ced
by Cedron
Tuesday 13th August 2019 3:31pm
Forum: General
Topic: 1st Time User Gambas Questions(Former VB6 user)
Replies: 22
Views: 513

Re: 1st Time User Gambas Questions(Former VB6 user)

I've been busy for a little while so I have left this thread alone. First a general comment for Lavos: I, too, am a long time VB6 (actually VB3-6) user and I found Gambas at the beginning of the year. My impression has been very very favorable. I see Gambas as a big improvement over VB6, sort of lik...
by Cedron
Friday 26th July 2019 5:44pm
Forum: General
Topic: mysql curious behavour of datetime field
Replies: 4
Views: 147

Re: mysql curious behavour of datetime field

Hi Bill,

That's exactly what it is. It was recently discussed on the mailing list.

https://lists.gambas-basic.org/pipermai ... 67372.html

https://lists.gambas-basic.org/pipermai ... 67220.html

Hopefully, that'll help you out a bit.

Ced
by Cedron
Friday 12th July 2019 7:15pm
Forum: General
Topic: DSP: The two bin solution
Replies: 2
Views: 279

Re: DSP: The two bin solution

Hey Gogier, That is a neat resource. If my to do list wasn't so long I would knock a few of those off. Yeah, this is some esoteric math, but it is actually some core DSP stuff. It is not nearly as impenetrable as it appears at first glance, once you start to understand it. I've got the blog article ...
by Cedron
Friday 12th July 2019 7:07pm
Forum: General
Topic: Static Functions
Replies: 2
Views: 109

Re: Static Functions

Your example is chock full of reserved (or previously used) words, so I'm not going to manipulate it into proper syntax. The answer is "Yes, you can" Static subs can only reference static variables. Static variables are shared across all instances. A static sub can create an instance of the class an...
by Cedron
Friday 05th July 2019 6:54pm
Forum: General
Topic: DSP: The two bin solution
Replies: 2
Views: 279

DSP: The two bin solution

TwoBinSolution-0.0.2.tar.gz This project is in support of https://dsp.stackexchange.com/questions/59149/is-there-a-good-method-to-extract-a-reference-sin-cos-from-a-group-of-signals The code demonstrates how to calculate the frequency, amplitude, and phase of a pure real tone. Although is quite eff...
by Cedron
Wednesday 03rd July 2019 2:53am
Forum: General
Topic: DSP: Power of Two Approximation
Replies: 0
Views: 115

DSP: Power of Two Approximation

This is in support of my answer here: https://www.dsprelated.com/thread/8959/fixed-point-exponentiation The following program shows how to calculate an approximation of two raised to a float value. The argument is assumed to be positive. ' Gambas module file Private Lookup_V As New Float[] Private L...