March 2000
Intermediate to advanced
576 pages
18h 13m
English
$OpenStrings Compiler Directive
{$P+} // default
{$OpenStrings On} // default
{$P-}
{$OpenStrings Off}Local
The $OpenStrings
compiler directive treats all
string-type parameters as
OpenString parameters. If
$LongStrings is enabled, Delphi ignores
$OpenStrings.
The $OpenStrings directive affects only parameters
declared with the string type, and only when long
strings are disabled. Even if $OpenStrings is
enabled, you can use the OpenString type to
declare an open string parameter.
$OpenStrings exists for backward compatibility.
New Delphi programs should use long strings instead of short strings.
| OpenString Type, String Keyword |
Read now
Unlock full access