
2.1 New data types
base-string, a subtype ofstring simple-base-string, a subtype ofsimple-string general-string, a subtype ofstring simple-general-string, a subtype ofsimple-string base-string is a string composed only of base characters. A string of typegeneral-string can accept both base and extended characters. Both of these string types have a corresponding simple version. A simple string is a string that does not have a fill pointer, is not displaced to another string, and whose size is not adjusted dynamically after creation. A simple string of base characters is of typesimple-base-string. A simple general string is a string of typesimple-general-string.
It is an error to insert an extended character into a string of typebase-string orsimple-base-string.
Figure 2.2 shows additions to the string type hierarchy and their relationship to the typestring:

Figure 2.2 String type hierarchy

Generated with Harlequin WebMaker