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