@@ -10884,14 +10884,28 @@ <h3 id="Types_String-Types">17.6. String Types</h3>
1088410884A string type is written < code > string</ code > or < code > string size</ code > < em > n</ em > ,
1088510885where < em > n</ em > is an integer value in the range [1,2^31-1].
1088610886There is one string type < code > string</ code > and one string type < code > string size</ code > < em > n</ em >
10887- for each legal value of < em > n</ em > .</ p >
10887+ for each legal value of < em > n</ em > .
10888+ The string type names map to the string types in the following way:</ p >
10889+ </ div >
10890+ < div class ="ulist ">
10891+ < ul >
10892+ < li >
10893+ < p > The type name < code > string</ code > maps to the type < code > string</ code > .</ p >
10894+ </ li >
10895+ < li >
10896+ < p > The type name < code > string</ code > < code > size</ code > < em > e</ em > maps to the type < code > string</ code > < code > size</ code > < em > n</ em > ,
10897+ after evaluating the expression < em > e</ em > to the value < em > n</ em > .</ p >
10898+ </ li >
10899+ </ ul >
1088810900</ div >
1088910901< div class ="paragraph ">
1089010902< p > The value < em > n</ em > , if present, is called the < strong > size</ strong > associated with the string
1089110903type.
10892- The size provides a maximum string length that the code generator can use
10904+ The size provides a maximum string length that the code generator uses
1089310905for allocating memory and serializing data.
10894- If no explicit size is present, then the code generator uses a default size.</ p >
10906+ If no size is present, then the code generator uses
10907+ the < a href ="#Definitions_Framework-Definitions_Constant-Definitions "> framework definition</ a > < code > FW_FIXED_LENGTH_STRING_SIZE</ code > as the
10908+ maximum string length.</ p >
1089510909</ div >
1089610910</ div >
1089710911< div class ="sect2 ">
@@ -11560,11 +11574,6 @@ <h3 id="Type-Checking_Identical-Types">18.13. Identical Types</h3>
1156011574< a href ="#Types_The-Boolean-Type "> the Boolean type</ a > .</ p >
1156111575</ li >
1156211576< li >
11563- < p > \$T_1\$ and \$T_2\$
11564- are both the same
11565- < a href ="#Types_String-Types "> string type</ a > .</ p >
11566- </ li >
11567- < li >
1156811577< p > Each of \$T_1\$ and \$T_2\$
1156911578is an
1157011579< a href ="#Types_Abstract-Types "> abstract type</ a > ,
@@ -11576,6 +11585,9 @@ <h3 id="Type-Checking_Identical-Types">18.13. Identical Types</h3>
1157611585</ li >
1157711586</ ol >
1157811587</ div >
11588+ < div class ="paragraph ">
11589+ < p > Note that string types are never identical.</ p >
11590+ </ div >
1157911591</ div >
1158011592< div class ="sect2 ">
1158111593< h3 id ="Type-Checking_Type-Conversion "> 18.14. Type Conversion</ h3 >
@@ -12040,8 +12052,7 @@ <h2 id="Values">20. Values</h2>
1204012052< div class ="paragraph ">
1204112053< p > Every value < em > v</ em > belongs to exactly one < a href ="#Types_Canonical-Types "> canonical type</ a >
1204212054< em > T</ em > , except that
12043- every string value belongs to the type < code > string</ code > and to
12044- all types < code > string size</ code > < em > n</ em > , for any < em > n</ em > .</ p >
12055+ every string value belongs to every string type.</ p >
1204512056</ div >
1204612057< div class ="paragraph ">
1204712058< p > Every value that belongs to type < em > T</ em > also belongs to every
@@ -12137,20 +12148,8 @@ <h3 id="Values_String-Values">20.5. String Values</h3>
1213712148characters in the sequence.</ p >
1213812149</ div >
1213912150< div class ="paragraph ">
12140- < p > A string value < em > v</ em > belongs to the following canonical types:</ p >
12141- </ div >
12142- < div class ="ulist ">
12143- < ul >
12144- < li >
12145- < p > < code > string</ code > </ p >
12146- </ li >
12147- < li >
12148- < p > < code > string size</ code > < em > n</ em > for any < em > n</ em > .</ p >
12149- </ li >
12150- </ ul >
12151- </ div >
12152- < div class ="paragraph ">
12153- < p > Note that < em > v</ em > may have length < em > m</ em > and type < code > string size</ code > < em > n</ em > ,
12151+ < p > A string value < em > v</ em > belongs to every string type.
12152+ Note that < em > v</ em > may have length < em > m</ em > and type < code > string size</ code > < em > n</ em > ,
1215412153with \$m > n\$.
1215512154In this case, the behavior is defined by the code generation strategy.
1215612155In particular, when code is generated for the F Prime framework,
@@ -12861,7 +12860,7 @@ <h3 id="Analysis-and-Translation_Translation-Tools">23.4. Translation Tools</h3>
1286112860</ div >
1286212861< div id ="footer ">
1286312862< div id ="footer-text ">
12864- Last updated 2026-03-09 15:31:20 -0700
12863+ Last updated 2026-03-09 16:24:44 -0700
1286512864</ div >
1286612865</ div >
1286712866< script src ="code-prettify/run_prettify.js "> </ script >
0 commit comments