Re: [Gambas-user] Maybe another bug.

2013-03-03 Thread Jussi Lahtinen
> If you pass an object of class A to a function argument that expects an > object of class B, expect an error of an automatic conversion to a new > object. > > There won't be any warnings for automatic conversions, this is a > convention of the Gambas language. You must know what you are doing wit

Re: [Gambas-user] Maybe another bug.

2013-03-03 Thread Benoît Minisini
Le 03/03/2013 16:07, Jussi Lahtinen a écrit : > Ah, of course... and so it was totally unrelated to using executable as > library. > Thanks for clearing this up! > I'll just use Byref and all works as intended. > > Maybe there should be some kind of warning about that in documentation, > since it's

Re: [Gambas-user] Maybe another bug.

2013-03-03 Thread Jussi Lahtinen
Ah, of course... and so it was totally unrelated to using executable as library. Thanks for clearing this up! I'll just use Byref and all works as intended. Maybe there should be some kind of warning about that in documentation, since it's not necessarily obvious that automatic conversion changes

Re: [Gambas-user] Maybe another bug.

2013-03-02 Thread Benoît Minisini
Le 03/03/2013 00:37, Jussi Lahtinen a écrit : > This one still lacks of confirmation or any comments... just wondering if > there is something I missed, > or is this just forgotten. > > Jussi > > > > On Sun, Feb 24, 2013 at 11:30 PM, Jussi Lahtinen > wrote: > >> Hi! >> See attached projects. >> >>

Re: [Gambas-user] Maybe another bug.

2013-03-02 Thread Jussi Lahtinen
This one still lacks of confirmation or any comments... just wondering if there is something I missed, or is this just forgotten. Jussi On Sun, Feb 24, 2013 at 11:30 PM, Jussi Lahtinen wrote: > Hi! > See attached projects. > > 1. Compile LibTest so you can use it as library. > 2. Set LibTest.g

[Gambas-user] Maybe another bug.

2013-02-24 Thread Jussi Lahtinen
Hi! See attached projects. 1. Compile LibTest so you can use it as library. 2. Set LibTest.gambas to be used as library for LibTestPart2. 3. Run LibTestPart2. 4. Click on the button. 5. I expect Var1 and Var2 have same count (10). Instead Var1 is empty. Why? Gambas 3 revision 5554 @ Xubuntu 12.04