> 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
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
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
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.
>>
>>
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
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