Talk:Long strings (Delphi)

From RAD Studio
Jump to: navigation, search

The statement below,

Note: The LONGSTRINGS directive is outdated by newer technology. Now the default string is long (UnicodeString), and this directive is ignored by the compiler. You should use UnicodeString in your applications.


should read as follows.


Note: The LONGSTRINGS directive is obsolete. Current Delphi compilers use a long string type based on unicode characters (UnicodeString). The LONGSTRINGS directive is ignored by compiler. The use of the default string type (UnicodeString) is recommended. If the older string type is desired, explicitly use the ShortString or string[<number>] types where needed.

Response

Thanks for your input, Jason. I have incorporated your suggestion with a few minor edits for tense and voice.

KrisHouser 09:25, 11 January 2011 (PST)