Talk:String Types (Delphi)

From RAD Studio
Jump to: navigation, search

missing text in the article

After the sentence:

When you cast a UnicodeString or AnsiString expression to a pointer, the pointer should usually be considered read-only. You can safely use the pointer to modify the string only when all of the following conditions are satisfied:

no rules are specified

SM15 11:04, 14 September 2010 (PDT)

Response

This problem was fixed in 2010. Thanks for your comments! KrisHouser (talk) 11:02, 10 April 2013 (PDT)


"type" needed for code paged AnsiString

"Type mystring = AnsiString(CODEPAGE)" doesn't work. The compiler says, "Error: E2029 ';' expected but '(' found". You have to do "Type mystring = type AnsiString(CODEPAGE)" Davidmarcus 10:46, 21 December 2011 (PST)

Response

We have made the correction.

Many thanks for your contribution to the docwiki!

KrisHouser (talk) 11:02, 10 April 2013 (PDT)

RS-38324