[Gambas-user] Signal 11 while initializing a property

Jussi Lahtinen jussi.lahtinen at ...626...
Thu Jan 22 15:46:38 CET 2009


Hi!

Is hMyClass declared as Object[] ?
If so, READ cannot recognise hMyClass[i].X as byte.
See my earlier post "Minor bug with READ & WRITE commands?".
I think you have same problem than I did, and in fact it is not bug.


Jussi



On Thu, Jan 22, 2009 at 1:06 AM, Dominique SIMONART
<simonart.dominique at ...11...> wrote:
> Hi everybody,
>
>    Gambas 2.8, OpenSuse 11.0, Kde 3.5, with Qt
>    If I initialize my property with the next 2 lines, it's OK ( N and
> the X property are defined as Byte, i  is an Integer)
>
>    READ #hFile, N
>    hMyClass[i].X = N
>
>    But if I want to write it shorter with the line below, it ends with
> a signal 11!
>
>    READ #hFile, hMyClass[i].X
>
>    Why?
>    Thanks for your help
> Dominique Simonart
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list