Re: [Gambas-user] Signal 11 while initializing a property

2009-01-23 Thread Simonart Dominique
Thanks Jussi, Now I think I really understand :) Dominique Simonart Jussi Lahtinen a écrit : > No, I think it is exactly same problem. > > Here is the reason (just like in my code): > PUBLIC hMyClass AS NEW Object[] > > Only difference is how we populate that array. > I use fResult.Add(aa) and

Re: [Gambas-user] Gambas & PostgreSQL cannot create index. relation XXX does not exist.

2009-01-23 Thread Benoit Minisini
On vendredi 23 janvier 2009, Randy-53 wrote: > Hello Richard, > > I have pgAdmin and made the table with SQL then I tried in gambas code > without index. That works Ok. Next I added the .Index.Add and the code > failed with error "Cannot create index. relation glcoa does not exist." I > would like

Re: [Gambas-user] Gambas & PostgreSQL cannot create index. relation XXX does not exist.

2009-01-23 Thread Randy-53
Hello Richard, I have pgAdmin and made the table with SQL then I tried in gambas code without index. That works Ok. Next I added the .Index.Add and the code failed with error "Cannot create index. relation glcoa does not exist." I would like the program to use Postgresql and sqlite for the datab

Re: [Gambas-user] Signal 11 while initializing a property

2009-01-23 Thread Jussi Lahtinen
No, I think it is exactly same problem. Here is the reason (just like in my code): PUBLIC hMyClass AS NEW Object[] Only difference is how we populate that array. I use fResult.Add(aa) and you use hMyClass[i] = NEW MyClass (and hMyClass.Resize(9)). Result is very same. Read my post and followups

Re: [Gambas-user] New bugs in OpenGl

2009-01-23 Thread Laurent Carlier
Le jeudi 15 janvier 2009 15:14:58 Jaap Cramer, vous avez écrit : > > On jeudi 15 janvier 2009, Jaap Cramer wrote: > > > Hi > > > > > > I discovered a new bug in the OpenGl module. > > > I use gl.Color4f(0, 1, 0, iTriangleAlpha) to color a object. The > > > variable iTriangleAlpha does not change th

Re: [Gambas-user] Signal 11 while initializing a property

2009-01-23 Thread Dominique SIMONART
Oups, forget to join the source! Dominique SIMONART a écrit : > Jussi (sorry for the preceding Julien) > > I wonder if our problems are really the same! > Here is more details of my situation. As you can see, the READ should > know that the datatype of hMyClas[i].X *is* a byte > >hMyClass.Resi

Re: [Gambas-user] Signal 11 while initializing a property

2009-01-23 Thread Dominique SIMONART
Jussi (sorry for the preceding Julien) I wonder if our problems are really the same! Here is more details of my situation. As you can see, the READ should know that the datatype of hMyClas[i].X *is* a byte hMyClass.Resize(9) FOR i = 0 TO 8 hMyClass[i] = NEW MyClass ' using these two