Re[2]: Posts with [ENGLISH] ? --> [EUPHORIA]

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

<snip>
> operator(<sequence> s, integer a, integer b) s[a..b]
>   return s[a..b]
> end operator
>
> The only problem I have is how to say, s must be the
> name of a variable and not an expression that
> evaluates to a sequence.  Currently I've decided to
> use <type> but I would like other opinions.  Here are
> some of the alternatives that I have considered:
> sequence var s
> sequence (s)
> Sequence s
>
> The last option would require that all types be
> defined in lower case...
>
> Thanks for any input... 
>
> -Humberto 

I like <sequence>, it's very clear and easy to read, it might be
slightly harder to type but you aren't gonna be typing it often...

Thomas Parslow (PatRat) ICQ #:26359483
Rat Software
http://www.rat-software.com/
Please leave quoted text in place when replying

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

Search



Quick Links

User menu

Not signed in.

Misc Menu