Re: [Gambas-user] Bad Image format

2014-12-08 Thread Paul Horechuk
Thank you. I wasn't aware of the dimension option. I will give that a try. Sent from my ASUS Pad Jussi Lahtinen wrote: >The image must have some size, example: >PageImage = New Image(10, 10) As "PageImage" > > >Jussi > >On Mon, Dec 8, 2014 at 11:34 PM, Paul Horechuk wrote: > >> Kubuntu 14.04 L

Re: [Gambas-user] Bad Image format

2014-12-08 Thread Jussi Lahtinen
The image must have some size, example: PageImage = New Image(10, 10) As "PageImage" Jussi On Mon, Dec 8, 2014 at 11:34 PM, Paul Horechuk wrote: > Kubuntu 14.04 LTS x86_64 > Gambas 3.6.2 > --- > Dim PageImage as Image > > ... > > Public Sub Previ

[Gambas-user] Bad Image format

2014-12-08 Thread Paul Horechuk
Kubuntu 14.04 LTS x86_64 Gambas 3.6.2 --- Dim PageImage as Image ... Public Sub Preview() PageImage = New Image As "PageImage" Paint.Begin(PageImage) ' Bad Format PageImage.Load("picture.jpg", 0, 0, 100, 100) Paint.End End -

Re: [Gambas-user] Accessor

2014-12-08 Thread Fabien Bodard
2014-12-08 19:57 GMT+01:00 Benoît Minisini : > Le 08/12/2014 15:28, Fabien Bodard a écrit : >> I think i have used the term accessor in a bad way ... arf i've a so >> bad english :-/ >> >> 2014-12-08 15:27 GMT+01:00 Fabien Bodard : >>> What about let the class ME accessor the possibility to access

Re: [Gambas-user] New features on the wiki

2014-12-08 Thread Benoît Minisini
Le 08/12/2014 20:04, Tobias Boege a écrit : > On Mon, 08 Dec 2014, Beno?t Minisini wrote: >> Le 06/12/2014 14:25, Tobias Boege a ?crit : >>> On Thu, 13 Nov 2014, Tobias Boege wrote: > No, the source tree may not beavailable on the wiki, only the *.info > files. > > Why not adding a

Re: [Gambas-user] New features on the wiki

2014-12-08 Thread Tobias Boege
On Mon, 08 Dec 2014, Beno?t Minisini wrote: > Le 06/12/2014 14:25, Tobias Boege a ?crit : > > On Thu, 13 Nov 2014, Tobias Boege wrote: > >>> No, the source tree may not beavailable on the wiki, only the *.info > >>> files. > >>> > >>> Why not adding an optional "*.help" file that would come with t

Re: [Gambas-user] Accessor

2014-12-08 Thread Benoît Minisini
Le 08/12/2014 15:28, Fabien Bodard a écrit : > I think i have used the term accessor in a bad way ... arf i've a so > bad english :-/ > > 2014-12-08 15:27 GMT+01:00 Fabien Bodard : >> What about let the class ME accessor the possibility to access to the >> class private global value. >> >> >> Priva

Re: [Gambas-user] New features on the wiki

2014-12-08 Thread Benoît Minisini
Le 06/12/2014 14:25, Tobias Boege a écrit : > On Thu, 13 Nov 2014, Tobias Boege wrote: >>> No, the source tree may not beavailable on the wiki, only the *.info files. >>> >>> Why not adding an optional "*.help" file that would come with the *.info >>> file? >>> >>> This file could have almost the s

Re: [Gambas-user] Something i do not understand

2014-12-08 Thread Fabien Bodard
well in fact i've found my error myself :-) i need a too dimentional array of float[]... so myvar as Float[][dim1,dim2] 2014-12-08 17:49 GMT+01:00 Tobias Boege : > On Mon, 08 Dec 2014, Tobias Boege wrote: >> On Mon, 08 Dec 2014, Fabien Bodard wrote: >> > Dim grad As Float[][][] >> > >> > grad

Re: [Gambas-user] Something i do not understand

2014-12-08 Thread Tobias Boege
On Mon, 08 Dec 2014, Tobias Boege wrote: > On Mon, 08 Dec 2014, Fabien Bodard wrote: > > Dim grad As Float[][][] > > > > grad = New Float[][width, height] > > grad[x][y] = [0.2, 0.2] > > > > give me a 'bad number of dimention error' .. why > > > > The syntax > > Float[][width, height]

Re: [Gambas-user] Something i do not understand

2014-12-08 Thread Tobias Boege
On Mon, 08 Dec 2014, Fabien Bodard wrote: > Dim grad As Float[][][] > > grad = New Float[][width, height] > grad[x][y] = [0.2, 0.2] > > give me a 'bad number of dimention error' .. why > The syntax Float[][width, height] does not exist in Gambas. Multi-dimensional arrays are only imp

[Gambas-user] Something i do not understand

2014-12-08 Thread Fabien Bodard
Dim grad As Float[][][] grad = New Float[][width, height] grad[x][y] = [0.2, 0.2] give me a 'bad number of dimention error' .. why -- Fabien Bodard -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT S

Re: [Gambas-user] Accessor

2014-12-08 Thread Fabien Bodard
I think i have used the term accessor in a bad way ... arf i've a so bad english :-/ 2014-12-08 15:27 GMT+01:00 Fabien Bodard : > What about let the class ME accessor the possibility to access to the > class private global value. > > > Private toto as integer > > Public sub _New (Toto as integer)

[Gambas-user] Accessor

2014-12-08 Thread Fabien Bodard
What about let the class ME accessor the possibility to access to the class private global value. Private toto as integer Public sub _New (Toto as integer) me.toto = Toto end Actually i can't use the name Toto in the _New param because Toto = Toto only work on the local variable. -- Fa

Re: [Gambas-user] Graphviz for Gambas

2014-12-08 Thread Tobias Boege
On Mon, 08 Dec 2014, Fabien Bodard wrote: > Graphviz library unfortunately is under EPL licence whitch is > incompatible with GLP :-/ > > 2014-12-08 2:55 GMT+01:00 Christian e Ana Luiza Britto : > > Hi, > > I would like to know if there is a way to integrate Graphviz library > > directly to Gamba

Re: [Gambas-user] Graphviz for Gambas

2014-12-08 Thread Fabien Bodard
Graphviz library unfortunately is under EPL licence whitch is incompatible with GLP :-/ 2014-12-08 2:55 GMT+01:00 Christian e Ana Luiza Britto : > Hi, > I would like to know if there is a way to integrate Graphviz library > directly to Gambas. > Thanks a lot. > Christian > Brazil > >

[Gambas-user] Noel

2014-12-08 Thread Jack
Hello, Soon it's Christmas so for this occasion I made a little demo http://www.gambasforge.org/code-134-noel.html turn up the sound and Father Christmas will come Jack -- Download BIRT iHub F-Type - The Free Enterpri