Use of a string value in a multidimensional aggregate AI-00017/05 1 88-06-17 ra WA | !standard 04.03.02 (02) 88-06-17 AI-00017/05 !standard 02.06 (06) !class ramification 83-10-10 | !status approved by WG9 87-12-07 | !status panel/committee-approved 87-08-31 (reviewed) !status panel-approved (10-0-3) 87-06-30 (by mail; pending editorial review) !status committee-approved (7-0-2) 87-05-26 (pending editorial review) !status work-item 83-10-10 !status received 83-10-10 !references 83-00008 !topic Use of a string value in a multidimensional aggregate !summary 87-08-31 A catenation of string literals is not allowed as a subaggregate of a multidimensional array aggregate even when the subaggregate has a one-dimensional array of character type. Similarly, a parenthesized string literal is not allowed as a subaggregate. | !question 88-06-15 4.3.2 says: A string literal is allowed in a multidimensional aggregate at | the place of a one-dimensional array of a character type. Is the use of a string value in a multidimensional array subaggregate really restricted to a string literal (which must fit on one line) or may it be a value of an expression (in particular a catenation of string literals as suggested by the note of section 2.6(6))? !response 87-08-31 The Standard uses the term "string literal", which, according to 1.5(6), refers to the syntax rule of 2.6. Therefore, a subaggregate of a multidimensional aggregate must be either an aggregate or a string_literal when the subaggregate has a one-dimensional array of character type. Since a catenation of string literals is neither an aggregate nor a string literal, it is not allowed, nor is a parenthesized string literal.