Re: Enum?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Euler German wrote:
> 
> > On 14 May 2008 at 19:08, Alan F wrote (maybe snipped):
> 
> >  From what I understand, the first entry in any 'enum' statement is
> >  always
> > set to 1. However, the 'last enumeration value' option would be useful
> > (for example, to define a sequence of that length for holding a
> > structure), but I wasn't and still am not sure what would be good
> > syntax for this. I'm not so sure about the $ syntax proposed.
> > 
> 
> $ makes sense. It is "euphoric" alright (subscripts), but I'm not 
> sure about the convenience of "^". Well, I could used to it some day, 
> but can't get the point.
> 
> Euler
> 

In any regular expression description I heard about, ^ stands for start of line
and $ for end of line. Eu will have regular expressions, so these symbols make
sense for first/last term of enum. They are not part of an anum.

Of course, this_enum.start and this_enum.end are more explicit and clear.

CChris

> -- 
> _
> _| euler f german
> _| sete lagoas, mg, brazil
> _| efgerman{AT}gmail{DOT}com
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu