J3/10-150r2 To: J3 From: Van Snyder/Stan Whitlock Subject: Intrinsic procedure dummy arguments Date: 2010 June 17 Discussion ---------- 13.7.1p2 says that the descriptions of arguments of intrinsic procedures describe the actual arguments. In some cases there are specifications that are surely intended to apply to those arguments when viewed as dummy arguments of the procedures, such as the SIZE argument of RANDOM_SEED being an INTENT(OUT) argument. Given the specification in 13.7.1p2, this could be construed to be a severely-restrictive requirement on the actual argument. [316:1-2] says "The dummy arguments of the intrinsic procedures in 13.7 have INTENT (IN) if the intent is not stated explicitly." so we can delete those statements. Edits are also included for sections 14 and 15 for consistency. [408:5] says "All dummy arguments have INTENT (IN) if the intent is not stated explicitly." about the procedures in 14.11. Edits ----- [13.7.1p2 pg 325] Before the third sentence, the one beginning "The result characteristics...," insert a sentence "Where explicitly stated, additional specifications apply to the dummy arguments." [13.7.20p3 pg 332] In the description of the ATOM argument replace "It is an INTENT(OUT) argument" with "The ATOM dummy argument has the INTENT(OUT) attribute". In the description of the VALUE argument delete "It is an INTENT(IN) argument.". [13.7.21p3 pg 332] In the description of the VALUE argument replace "It is an INTENT(OUT) argument" with "The VALUE dummy argument has the INTENT(OUT) attribute". In the description of the ATOM argument delete "It is an INTENT(IN) argument.". [13.7.42p3 pg 339] Replace "It is an INTENT(OUT) argument that" by "It". At the end of the paragraph insert a sentence "The TIME dummy argument has the INTENT(OUT) attribute." [13.7.44p3 pg 340] In the description of the DATE argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The DATE dummy argument has the INTENT(OUT) attribute." In the description of the TIME argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The TIME dummy argument has the INTENT(OUT) attribute." In the description of the ZONE argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The ZONE dummy argument has the INTENT(OUT) attribute." In the description of the VALUES argument delete "It is an INTENT(OUT) argument." Before "The values returned" insert the sentence "The VALUES dummy argument has the INTENT(OUT) attribute." [13.7.57p3 pg 346] In the description of the COMMAND argument delete "It is an INTENT(IN) argument." In the description of the WAIT argument delete "It is an INTENT(IN) argument." In the description of the EXITSTAT argument delete "It is an INTENT(INOUT) argument." At the end of the paragraph insert the sentence "The EXITSTAT dummy argument has the INTENT(INOUT) attribute." In the description of the CMDSTAT argument delete "It is an INTENT(OUT) argument.". At the end of the paragraph insert the sentence "The CMDSTAT dummy argument has the INTENT(OUT) attribute." In the description of the CMDMSG argument delete "It is an INTENT(INOUT) argument.". At the end of the paragraph insert the sentence "The CMDMSG dummy argument has the INTENT(INOUT) attribute." [13.7.65p3 pg 349] In the description of the COMMAND argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The COMMAND dummy argument has the INTENT(OUT) attribute." In the description of the LENGTH argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The LENGTH dummy argument has the INTENT(OUT) attribute." In the description of the STATUS argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The STATUS dummy argument has the INTENT(OUT) attribute." [13.7.66p3 pg 350] In the description of the NUMBER argument delete "It is an INTENT(IN) argument." Then combine the first and second paragraphs of the description. In the description of the VALUE argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The VALUE dummy argument has the INTENT(OUT) attribute." In the description of the LENGTH argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The LENGTH dummy argument has the INTENT(OUT) attribute." In the description of the STATUS argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The STATUS dummy argument has the INTENT(OUT) attribute." [13.7.67p3 pg 351] In the description of the NAME argument delete "It is an INTENT(IN) argument.". In the description of the VALUE argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The VALUE dummy argument has the INTENT(OUT) attribute." In the description of the LENGTH argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The LENGTH dummy argument has the INTENT(OUT) attribute." In the description of the STATUS argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The STATUS dummy argument has the INTENT(OUT) attribute." In the description of the TRIM_NAME argument delete "It is an INTENT(IN) argument." [13.7.118p3 pg 372] In the description of the FROM argument replace "It is an INTENT(INOUT) argument" by "The FROM dummy argument has the INTENT(INOUT) attribute". In the description of the TO argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The TO dummy argument has the INTENT(OUT) attribute." [13.7.119p3 pg 373] In the description of the FROM argument delete "It is an INTENT(IN) argument.". In the description of the FROMPOS argument delete "It is an INTENT(IN) argument." In the description of the LEN argument delete "It is an INTENT(IN) argument.". In the description of the TO argument delete "It is an INTENT(INOUT) argument." At the end of the paragraph insert the sentence "The TO dummy argument has the INTENT(INOUT) attribute." In the description of the TOPOS argument delete "It is an INTENT(IN) argument." [13.7.135p3 pg 380] In the description of the HARVEST argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The HARVEST dummy argument has the INTENT(OUT) attribute." [13.7.136p3 pg 380] In the description of the SIZE argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The SIZE dummy argument has the INTENT(OUT) attribute." In the description of the PUT argument delete "It is an INTENT(IN) argument." In the description of the GET argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The GET dummy argument has the INTENT(OUT) attribute." [13.7.162p3 pg 391] In the description of the COUNT argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The COUNT dummy argument has the INTENT(OUT) attribute." In the description of the COUNT_RATE argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The COUNT_RATE dummy argument has the INTENT(OUT) attribute." In the description of the COUNT_MAX argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The COUNT_MAX dummy argument has the INTENT(OUT) attribute." [14.11.4 pg 409] In the description of the FLAG_VALUE argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The FLAG_VALUE dummy argument has the INTENT(OUT) attribute." [14.11.5 pg 410] In the description of the HALTING argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The HALTING dummy argument has the INTENT(OUT) attribute." [14.11.6 pg 410] In the description of the ROUND_VALUE argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The ROUND_VALUE dummy argument has the INTENT(OUT) attribute." [14.11.7 pg 410] In the description of the STATUS_VALUE argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The STATUS_VALUE dummy argument has the INTENT(OUT) attribute." [14.11.8 pg 411] In the description of the GRADUAL argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The GRADUAL dummy argument has the INTENT(OUT) attribute." [15.2.3.1 pg 426:15] Add a sentence to the end of paragraph 1: "All dummy arguments have INTENT (IN) if the intent is not stated explicitly.". [15.2.3.3 pg 427] In the description of the CPTR argument delete "It is an INTENT(IN) argument." In the description of the FPTR argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The FPTR dummy argument has the INTENT(OUT) attribute." In the description of the SHAPE argument delete "It is an INTENT(IN) argument." [15.2.3.4 pg 427-428] In the description of the CPTR argument delete "It is an INTENT(IN) argument." In the description of the FPTR argument delete "It is an INTENT(OUT) argument." At the end of the paragraph insert the sentence "The FPTR dummy argument has the INTENT(OUT) attribute."