On 1/21/2010 04:00, Hans-Peter Diettrich wrote:
waldo kitty schrieb:

ok... thanks for that... i was unaware that type "string" was an alias
for "ansistring"... i had thought that "string" was the same as the
old borland "string" definition (ie: array of chars with the [0]
element containing the string length) ;)

In newer Delphi versions (2009+) "string" is "UnicodeString", that's why
using "AnsiString" will reduce possible confusion of people, who use
Delphi and Lazarus concurrently.

string[n] is "ShortString", even in the new Delphi versions.

thanks for that... this is some of the basic changes that i have to try to remember as i attempt to move from TP/BP 6/7... i can already see that many of my own libs will need major overhauls since they operate at a lower level than the basic included libs... heck, my most used lib does direct screen writes to any screen format buffer but that's all out the window when it comes to GUI apps stuffs :?

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to