Einzelnen Beitrag anzeigen

Benutzerbild von uligerhardt
uligerhardt

Registriert seit: 19. Aug 2004
Ort: Hof/Saale
1.735 Beiträge
 
Delphi 2007 Professional
 
#9

AW: XE3: Direktive für String Typ?

  Alt 16. Nov 2012, 18:30
Aber das ist nur eine Kompatibilitätsfunktion für uralte Delphi1-Codes, also kannste das komplett vergessen.

Denn entweder String = UnicodeString (seit D2009) oder String = ShortString
Du meinst vermutlich $H /$LONGSTRINGS . Dazu lese ich hier folgendes:
Zitat:
Note: The LONGSTRINGS directive is obsolete and is ignored by the compiler. Current Delphi compilers use a long string type based on Unicode characters (UnicodeString). It is recommended that you use the default string type (UnicodeString). If you want to use the older string type, explicitly use the ShortString or string[<number>] types where needed.
Hab's aber nicht ausprobiert.
Uli Gerhardt
  Mit Zitat antworten Zitat