Re: foreach statement's parentheses




Tim Hammerquist wrote:

> >
> > "A list value may also be subscripted like a normal array. You must put
> > the list in parentheses (real ones) to avoid amibiguity. Though it's
> > often used to fetch a single value out of a list, it's really a slice
> > of the list, so the syntax is:"
> >
> > (LIST)[LIST]
>
> Thanks. I knew it was good perl. I'm just looking for a term
> to describe what the parens do in that instance.
>
> Thanks again,
> Tim Hammerquist

no prob. i guess the term would be 'disambiguate'.

.



Relevant Pages

  • Re: joining multiple fields in a query
    ... I can't visualize it! ... You might need to use parentheses: ... or IIF: ... Prev by Date: ...
    (microsoft.public.access.queries)
  • Re: Sum - show negative number?
    ... >> to read, without the parentheses. ... A second-best option would be red ... makes for easier screen viewing. ... Prev by Date: ...
    (microsoft.public.excel.misc)
  • *
    ... I've seen synchronous siteswap patterns written with a little asterisk * ... right after the parentheses. ... Prev by Date: ...
    (rec.juggling)
  • Re: Simple Math
    ... "I'm not sure no solution exists without parentheses." ... triple negatives, or the actual existence of a nonentity. ... The closest I could find is ... Prev by Date: ...
    (rec.puzzles)
  • Re: Arrays Messing up Values
    ... > But in both cases I cited I use the same use of parentheses and one ... remember that division takes precedence over multiplication. ... Nasser ... Prev by Date: ...
    (comp.soft-sys.matlab)

Loading