13-289r1 To: J3 From: Steve Lionel Subject: New syntax for team coindices Date: 2013 June 28 Re: N1967 Subsequent to the decision that coindices do not automatically change within the scope of a CHANGE TEAM, new syntax is proposed to allow the programmer to specify that coindices in a coarray reference are relative to the subteam and not to the original declaration of the coarray. Edits to N1967 -------------- [In 5.1, Introduction to Teams of Images, paragraph 1, replace] All image indices are relative to the current team and data on images outside this team are inaccessible. [with:] Syntax has been added to (R624 in ISO/IEC 1539-1:2010) to permit specification that image indices are relative to a specified team; otherwise, image indices are relative to the current team. [Add a new section after 5.3 CHANGE TEAM] 5.3a Image selectors The syntax rule R624 in subclause 6.6 of ISO/IEC 1539-1:2010 is replaced by: R624 Is [::] If appears, its value shall be the same as that of a that was assigned a value by a FORM SUBTEAM statement for the current team or an ancestor of the current team, and the cosubscripts are interpreted as if the current team were the team specified by . [In 8.2, Edits to clause 2, paragraph 1, replace:] All image indices are relative to the current team and data on images outside this team are inaccessible. [with:] Unless is specified in an (R624), all image indices are relative to the current team. [After 8.4, insert new section "Edits to clause 6", or merge with existing section from other papers] {In 6.6, Image selectors, replace R624 with:} R624 Is [::] {In 6.6 insert after paragraph 2} If appears, its value shall be the same as that of a that was assigned a value by a FORM SUBTEAM (8.5.2c) statement for the current team or an ancestor of the current team, and the cosubscripts are interpreted as if the current team were the team specified by .