Re: [HAPI-devel] Can't return repetition #1 of ERR

2013-03-04 Thread James Agnew
Hi Eugene, The repetitions are actually zero-indexed and work much like an ArrayList (i.e. you can't ask for rep 1 before you have asked for rep 0). This is definitely a bit confusing, since fields/componens/etc. are one-indexed, but it's historical at this point and pretty "baked in". Do you hav

Re: [HAPI-devel] Can't return repetition #1 of ERR

2013-03-04 Thread Eugene Berman
Ahh, thanks a lot, James, it does make sense, I was just confused by the error message. Starting from 0 fixed it. On Mar 4, 2013, at 9:58 AM, James Agnew wrote: > Hi Eugene, > > The repetitions are actually zero-indexed and work much like an ArrayList > (i.e. you can't ask for rep 1 before y