[Gambas-user] 'Public Enum' Question

Lord Quo lord.quo at ...626...
Tue Aug 24 02:17:48 CEST 2010


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 error:

'Automatic' unexpected
In class StyleEnums.module line 2

Can anyone help me?

Thanks

Daniel Rojas


More information about the User mailing list