concept-strings.tex 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. % -*- Mode: TeX -*-
  2. \beginsubsection{Implications of Strings Being Arrays}
  3. \DefineSection{StringsAreArrays}
  4. Since all \term{strings} are \term{arrays}, all rules which apply
  5. generally to \term{arrays} also apply to \term{strings}.
  6. \Seesection\ArrayConcepts.
  7. For example,
  8. \term{strings} can have \term{fill pointers},
  9. and \term{strings} are also subject to the rules of \term{element type} \term{upgrading}
  10. that apply to \term{arrays}.
  11. \endsubsection%{Implications of Strings Being Arrays}
  12. \beginsubsection{Subtypes of STRING}
  13. \issue{CHARACTER-PROPOSAL:2}
  14. % All functions defined to operate on \term{strings} treat
  15. % \term{base strings} uniformly with
  16. % other \term{strings} with the following
  17. % caveat: for any function that inserts a \term{character}
  18. % into a \term{string}, the consequences are undefined
  19. % if an \term{extended character} is inserted
  20. % into a \term{base string}.
  21. All functions that operate on \term{strings}
  22. will operate on \term{subtypes} of \term{string} as well.
  23. However,
  24. the consequences are undefined if a \term{character} is inserted into a \term{string}
  25. for which the \term{element type} of the \term{string} does not include that \term{character}.
  26. \endissue{CHARACTER-PROPOSAL:2}
  27. \endsubsection%{Subtypes of STRING}