is valid. The special identifier OpenString can be used to declare routines that take short-string parameters of varying
length:
procedure Check(S: OpenString);
When the
{$H}
and
{$P+}
compiler directives are both in effect, the reserved word string is equivalent to OpenString
in parameter declarations.
Short strings, OpenString,
$H
, and
$P
are supported for backward compatibility only. In new code, you can avoid
these considerations by using long strings.
Dostları ilə paylaş: