<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000" class="gmail_msg"><br>
    <p class="gmail_msg">a) to assign a dive object to some variable or pointer so that I
      could reference it later when it wasn't the current subject of the
      for loop iterating through the dives.</p>
    <p class="gmail_msg">or</p>
    <p class="gmail_msg">b) reference a dive directly by it's position in the collection
      of dives.</p></div></blockquote><div><br></div><div>What Tim says is true. b) is actually possible, but it seems only using a coded literal. i.e. I can access dives.1.number but I can't access dives.x.number or dives[x].number. There seems to be no way of doing that. a) does seem to be impossible - "with" doesn't seem to be supported at all in Grantlee.  </div><div><br></div><div>Martin </div></div></div>