Memory requirement: 256 bytes (1 byte for the length specification and 255 bytes for the characters).
ShortString has the same properties as the string in Turbo Pascal.
Definition of a data field of the data type ShortString:
var s : ShortString;
Examples for the valid assignment values:
s := '0123ABCabc456'; s := s + '! "§ $% & / () =?'; s := 'c'; s := s + IntToStr (45);
Examples of invalid assignment of values:
s := True; s := 4;
for … in loop will work as expected.