Node:Planned - Strings, Next:Planned - Records/arrays, Up:Planned Features
AnyString
parameters and pointers (records internally, cf. gpc.pas) (GetCapacity; only for var parameters)
SetLength
for non-Pascal string types; use truncate-flag
s := s + ch
) (fh19971105)
--arrays-of-char-as-cstrings={none,zero-based,all}
to allow assigning [zero-based] arrays of char to cstring variables (warning otherwise) (cstrini2.pas); make padding of those arrays in initialized variables and in assignments dependent on this switch (fh19970921) (fjf57.pas, ok) and if the length matches exactly, give a warning (fh19971013) (cstrassign.pas); pass those arrays as cstrings in read*, write*, str (P_*STRING; current length=-1 in two places); compile time warning (and treatment as non-zero-based) if it's not clear at compile time if a conformant array or schema is zero-based or not, and an operation depends on this in the zero-based state
type x=string
(undiscriminated) when switch is set so that strings don't default to length 255 (fh19971113) (fjf97.pas, ok); don't add a #0 terminator when passing as a CString parameter (automatically use String2CString)
--bp-strings
$P
, $V
in BP; undocumented OpenString
identifier in BP)