Re: [Gambas-user] 'Public Enum' Question

2010-08-24 Thread François Gallo
No problem :) Le mardi 24 août 2010 à 11:19 -0500, Lord Quo a écrit : > Thanks! :-) > > -- > From: "FrançoisGallo" > Sent: Tuesday, August 24, 2010 10:49 AM > To: "mailing list for gambas users" >

Re: [Gambas-user] 'Public Enum' Question

2010-08-24 Thread Lord Quo
Thanks! :-) -- From: "FrançoisGallo" Sent: Tuesday, August 24, 2010 10:49 AM To: "mailing list for gambas users" Subject: Re: [Gambas-user] 'Public Enum' Question > Yes you can by enclosing your variab

Re: [Gambas-user] 'Public Enum' Question

2010-08-24 Thread Lord Quo
Ok, ok, I discovered the answer. I need to put my variable between braces: Public Enum Automatic, {Left}, Center, {Right}, Fill, Justify, CenterAcrossSelection, Distributed, JustifyDistributed Thanks a lot. From: Lord Quo Sent: Tuesday, August 24, 2010 10:42 AM To: Gambas-user@lists.s

Re: [Gambas-user] 'Public Enum' Question

2010-08-24 Thread François Gallo
Le mardi 24 août 2010 à 10:42 -0500, Lord Quo a écrit : > Sorry, I wrote a terrible begginer error. > >This is my "correct" code: > > Public Enum Automatic, Left, Center, Right, Fill, Justify, > CenterAcrossSelection, Distributed, JustifyDistributed > >But Left and Right give me problem

Re: [Gambas-user] 'Public Enum' Question

2010-08-24 Thread Lord Quo
Sorry, I wrote a terrible begginer error. This is my "correct" code: Public Enum Automatic, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed, JustifyDistributed But Left and Right give me problems because they are reserved word. Can I use them in another form? In

[Gambas-user] 'Public Enum' Question

2010-08-23 Thread Lord Quo
Hi all, I have a Public Enum declaration, but I need (or want) to use a constants named Left and Right: Public Enum StyleHorizontalAlignment Automatic, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed, JustifyDistributed But when I compile the project, Gambas give me an er