Re: [Gambas-user] Pointer or something

2015-10-04 Thread Moviga Technologies
Nice :) Is there any place in the wiki that explains why this is so? -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listin

Re: [Gambas-user] Pointer or something

2015-10-04 Thread Benoît Minisini
Le 04/10/2015 12:19, Moviga Technologies a écrit : > Nice :) > > Is there any place in the wiki that explains why this is so? > What do you think it could be otherwise? Note that internally the structure Elements[i] is transformed into a temporary object pointed to the real data so that you can

Re: [Gambas-user] Pointer or something

2015-10-04 Thread Moviga Technologies
Well, just following the logic from variables. If a and b are integers, and b=2, and then one does a=b, and then Inc a, b is still 2 while a is 3. Oh, OK. I though using Struct was just a more simple alternative to a class. Better use a class then. Thanks!

[Gambas-user] [Gambas Bug Tracker] Bug #787: Beautify has to be run several times

2015-10-04 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.787&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary --- Beautify has to be run several times Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Descrip

Re: [Gambas-user] Pointer or something

2015-10-04 Thread Benoît Minisini
Le 04/10/2015 12:48, Moviga Technologies a écrit : > Well, just following the logic from variables. If a and b are integers, > and b=2, and then one does a=b, and then Inc a, b is still 2 while a is > 3. I don't see the relation with structures. What you are talking about is just the difference b

[Gambas-user] [Gambas Bug Tracker] Bug #788: Beautify makes the code editor jump to the beginning of the document

2015-10-04 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.788&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary --- Beautify makes the code editor jump to the beginning of the document Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : D

[Gambas-user] [Gambas Bug Tracker] Bug #788: Beautify makes the code editor jump to the beginning of the document

2015-10-04 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.788&from=L21haW4- Comment #1 by Benoît MINISINI: Fixed in revision #7381. -- ___ Gambas-user mailing list Gambas-user@lists.s

[Gambas-user] [Gambas Bug Tracker] Bug #788: Beautify makes the code editor jump to the beginning of the document

2015-10-04 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.788&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 #787: Beautify has to be run several times

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

[Gambas-user] [Gambas Bug Tracker] Bug #787: Beautify has to be run several times

2015-10-04 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.787&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 #787: Beautify has to be run several times

2015-10-04 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.787&from=L21haW4- Comment #1 by Benoît MINISINI: Fixed in revision #7382. -- ___ Gambas-user mailing list Gambas-user@lists.s

[Gambas-user] [Gambas Bug Tracker] Bug #711: Remember cursor position when double clicking a file in the project tree

2015-10-04 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.711&from=L21haW4- Comment #3 by Benoît MINISINI: Fixed in revision #7383. -- ___ Gambas-user mailing list Gambas-user@lists.s

[Gambas-user] [Gambas Bug Tracker] Bug #711: Remember cursor position when double clicking a file in the project tree

2015-10-04 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.711&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 #789: Edit bookmarks, rename the bookmark name when press button up or down

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

[Gambas-user] [Gambas Bug Tracker] Bug #789: Edit bookmarks, rename the bookmark name when press button up or down

2015-10-04 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.789&from=L21haW4- Zainudin AHMAD reported a new bug. Summary --- Edit bookmarks, rename the bookmark name when press button up or down Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown De

[Gambas-user] [Gambas Bug Tracker] Bug #789: Edit bookmarks, rename the bookmark name when press button up or down

2015-10-04 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.789&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 #789: Edit bookmarks, rename the bookmark name when press button up or down

2015-10-04 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.789&from=L21haW4- Comment #1 by Benoît MINISINI: Fixed in revision #7384. -- ___ Gambas-user mailing list Gambas-user@lists.s

[Gambas-user] [Gambas Bug Tracker] Bug #790: Cursor moves when running beautify

2015-10-04 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.790&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary --- Cursor moves when running beautify Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Descripti

Re: [Gambas-user] Pointer or something

2015-10-04 Thread Moviga Technologies
> I don't see the relation with structures. What you are talking about is > just the difference between a value and a reference (i.e. a pointer) to > a value. What I mean is I guess that pattern has affected my mindset in the way I think about putting a structure at the right side of an assignmen

[Gambas-user] Pre-release of gambas 3.8.2

2015-10-04 Thread Benoît Minisini
Hi, I have just uploaded a pre-release of Gambas 3.8.2 at: http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.2.tar.bz2/download You will find in it everything that was is /trunk: all the bug fixes, and the changes, that (normally) are all backward-compatible. The full changelog

Re: [Gambas-user] Pointer or something

2015-10-04 Thread Tobias Boege
On Sun, 04 Oct 2015, Moviga Technologies wrote: > Well, just following the logic from variables. If a and b are integers, > and b=2, and then one does a=b, and then Inc a, b is still 2 while a is > 3. > In Gambas, objects are always references. You may find one or the other additional insight f

Re: [Gambas-user] Forward events from constructor

2015-10-04 Thread Tobias Boege
On Sat, 03 Oct 2015, Beno??t Minisini wrote: > > Is there a limitation, about raising events from constructors, I don't know > > of? Also note how, in the demonstration project, I can very well initiate > > the validation procedure just after the constructor finished. > > > > The logic behind that

Re: [Gambas-user] Forward events from constructor

2015-10-04 Thread Benoît Minisini
Le 04/10/2015 18:29, Tobias Boege a écrit : > On Sat, 03 Oct 2015, Beno??t Minisini wrote: >>> Is there a limitation, about raising events from constructors, I don't know >>> of? Also note how, in the demonstration project, I can very well initiate >>> the validation procedure just after the constr

Re: [Gambas-user] Forward events from constructor

2015-10-04 Thread Tobias Boege
On Sun, 04 Oct 2015, Beno??t Minisini wrote: > Le 04/10/2015 18:29, Tobias Boege a ?crit : > > On Sat, 03 Oct 2015, Beno??t Minisini wrote: > >>> Is there a limitation, about raising events from constructors, I don't > >>> know > >>> of? Also note how, in the demonstration project, I can very well

Re: [Gambas-user] Forward events from constructor

2015-10-04 Thread Benoît Minisini
Le 04/10/2015 18:43, Tobias Boege a écrit : > On Sun, 04 Oct 2015, Beno??t Minisini wrote: >> Le 04/10/2015 18:29, Tobias Boege a ?crit : >>> On Sat, 03 Oct 2015, Beno??t Minisini wrote: > Is there a limitation, about raising events from constructors, I don't > know > of? Also note how

Re: [Gambas-user] Forward events from constructor

2015-10-04 Thread Tobias Boege
On Sun, 04 Oct 2015, Beno??t Minisini wrote: > >> It's not technically necessary to do that, but it avoids a lot of > >> possible annoying bugs in your code. > >> > > > > I understand. And by the way, that Timer trick works even in the following > > form: > > > > --8<--[ ValidateBox.class]-

Re: [Gambas-user] Pre-release of gambas 3.8.2

2015-10-04 Thread Benoît Minisini
Le 04/10/2015 16:50, Benoît Minisini a écrit : > Hi, > > I have just uploaded a pre-release of Gambas 3.8.2 at: > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.2.tar.bz2/download > > You will find in it everything that was is /trunk: all the bug fixes, > and the changes, that (

Re: [Gambas-user] Pre-release of gambas 3.8.2

2015-10-04 Thread Linus
Hello, Tested last Gambas version 3.8.2 on Fedora 16. Compiled without any problem and quickly tested a lot of projects mine and all seems to work well. No reported any problem for the moment. Continuing to test. Cordialement, Olivier Cruilles > Le 4 oct. 2015 à 15:03, Benoît Minisini a