$H/de
Deutsch · English
Zurück zu den lokalen Compilerdirektiven.
$H oder $LONGSTRINGS
Die Direktiven $H oder $LONGSTRINGS haben die gleiche Bedeutung und bestimmen, dass der Compiler das reservierte Wort String als AnsiString interpretiert.
Die Direktive $LONGSTRINGS kennt die Schalter ON und OFF.
Die Direktive $H kennt die Schalter + und -.
Die Standardeinstellung ist {$H-}. Das reservierte Wort String ist ein ShortString.
Der Compiler Modus {$MODE DELPHI} ändert die Einstellung der Direktive $H auf {$H+}.
Beispiel:
// Damit wird aus dem reservierten Wort String ein Ansistring
{$H+}Die Direktive {$H} oder {$LONGSTRINGS} entspricht der Kommandozeilen Option -Sh.
From the Free Pascal wiki, page "$H/de", as it stood on 2020-03-06 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
