Re: [Gambas-user] Super quickie - array equality

2015-10-21 Thread Fabien Bodard
Le 22 oct. 2015 05:43, "adamn...@gmail.com" a écrit : > > On Wed, 21 Oct 2015 22:54:48 +0300 > Jussi Lahtinen wrote: > > > Your original question hinted at 2D arrays, but [0, 0] is one dimensional > > array with two values. > > So, in other words you would like quick way to check first two values

Re: [Gambas-user] Super quickie - array equality

2015-10-21 Thread adamn...@gmail.com
On Wed, 21 Oct 2015 22:54:48 +0300 Jussi Lahtinen wrote: > Your original question hinted at 2D arrays, but [0, 0] is one dimensional > array with two values. > So, in other words you would like quick way to check first two values of > the array? and that its length is 2. > > I think this is th

[Gambas-user] [Gambas Bug Tracker] Bug #824: Spin Box(major, minor, release) control for enter data "compatible until version" always disabled

2015-10-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.824&from=L21haW4- Benoît MINISINI changed the state of the bug to: Fixed. -- ___ Gambas-user mailing list Gambas-user@lists.s

[Gambas-user] [Gambas Bug Tracker] Bug #824: Spin Box(major, minor, release) control for enter data "compatible until version" always disabled

2015-10-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.824&from=L21haW4- Comment #2 by Benoît MINISINI: Nope, it's in revision #7430. -- ___ Gambas-user mailing list Gambas-user@li

[Gambas-user] [Gambas Bug Tracker] Bug #824: Spin Box(major, minor, release) control for enter data "compatible until version" always disabled

2015-10-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.824&from=L21haW4- Comment #1 by Benoît MINISINI: It should be fixed in revision #7428. -- ___ Gambas-user mailing list Gambas

[Gambas-user] gb.desktop Desktop.ActiveWindow

2015-10-21 Thread herberth guzman
Greetings to all, I need help please with component gb.desktop.x11 to my Panel(f_panel) I will try to explain: To activate a window the following code: value=last.tag Desktop.Windows.FromHandle (value) .Activate I would like to know how can I ask X11 which windows has focus. For instance, my app

Re: [Gambas-user] OpenAL (gb.openal) example code

2015-10-21 Thread Benoît Minisini
Le 15/09/2015 07:49, Kevin Fishburne a écrit : > > When I've gotten most everything I need figured out I'll write a > tutorial to accompany the example code. This hopefully will be sooner > than later. > > Currently using Alure.BufferDataFromFile to load sound files into OpenAL > buffers I'm unable

Re: [Gambas-user] Super quickie - array equality

2015-10-21 Thread Jussi Lahtinen
Your original question hinted at 2D arrays, but [0, 0] is one dimensional array with two values. So, in other words you would like quick way to check first two values of the array? I think this is the simplest: If myArray[0] = 0 And If myArray[1] = 0 Then However, why you need an array for only

Re: [Gambas-user] Super quickie - array equality

2015-10-21 Thread adamn...@gmail.com
The value, I need to know if the user has changed the default value from [0,0] to something else. [0,0] is a special case and I just thought that maybe there was a quick way to check it that I didn't know of. cheers bruce On Wed, 21 Oct 2015 15:30:28 +0300 Jussi Lahtinen wrote: > I don't get

Re: [Gambas-user] Super quickie - array equality

2015-10-21 Thread Jussi Lahtinen
...or object reference? Jussi On Wed, Oct 21, 2015 at 4:17 PM, Fabien Bodard wrote: > well after a quick re read it seem i've not understand the question > myself. Sorry for the wrong answer. > > But at least tell us what you want to compare ... the entry value or > the array size ? > > 2015-1

[Gambas-user] [Gambas Bug Tracker] Bug #824: Spin Box(major, minor, release) control for enter data "compatible until version" always disabled

2015-10-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.824&from=L21haW4- Zainudin AHMAD added an attachment: pic-4.png -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge

[Gambas-user] [Gambas Bug Tracker] Bug #824: Spin Box(major, minor, release) control for enter data "compatible until version" always disabled

2015-10-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.824&from=L21haW4- Zainudin AHMAD added an attachment: pic-2.png -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge

[Gambas-user] [Gambas Bug Tracker] Bug #824: Spin Box(major, minor, release) control for enter data "compatible until version" always disabled

2015-10-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.824&from=L21haW4- Zainudin AHMAD added an attachment: pic-3.png -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge

[Gambas-user] [Gambas Bug Tracker] Bug #824: Spin Box(major, minor, release) control for enter data "compatible until version" always disabled

2015-10-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.824&from=L21haW4- Zainudin AHMAD reported a new bug. Summary --- Spin Box(major, minor, release) control for enter data "compatible until version" always disabled Type : Bug Priority : Low Gambas version : 3.8.90 (TRUNK

[Gambas-user] [Gambas Bug Tracker] Bug #824: Spin Box(major, minor, release) control for enter data "compatible until version" always disabled

2015-10-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.824&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge

Re: [Gambas-user] Super quickie - array equality

2015-10-21 Thread Fabien Bodard
well after a quick re read it seem i've not understand the question myself. Sorry for the wrong answer. But at least tell us what you want to compare ... the entry value or the array size ? 2015-10-21 14:30 GMT+02:00 Jussi Lahtinen : > I don't get what you mean... do you want to test array bounds

Re: [Gambas-user] Super quickie - array equality

2015-10-21 Thread Jussi Lahtinen
I don't get what you mean... do you want to test array bounds, or value, or..? Jussi On Wed, Oct 21, 2015 at 4:12 AM, adamn...@gmail.com wrote: > If anyone is awake. > > Can I test that an integer array of the form (x,y) is equal to [0,0] > simply? In other words > > Dim MyDimensions as Int

Re: [Gambas-user] Super quickie - array equality

2015-10-21 Thread Fabien Bodard
You can try with an multi object style : Dim MyArray as integer[][] = [[1],[2]] Print MyArray[0][0] '=1 Print "X=" & MyArray.Count '=2 Print "Y=" & MyArray[0].Count '=1 2015-10-21 3:30 GMT+02:00 adamn...@gmail.com : > On Wed, 21 Oct 2015 11:42:59 +1030 > "adamn...@gmail.com" wrote: > >> If