Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-02

About AnsiString

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michal Bukovjan

I noticed that the whole LCL is not written in AnsiString, but rather short strings.

I remember this was because AnsiStrings were not ready when the LCL/Lazarus project was at the beginning.

My question is, is the AnsiString feature (i.e. huge 2GB strings) already in production state and therefore, could we consider to switch to using these (the H+ directive)?

What do you think?

Michal Bukovjan

____________________________________________________________________ Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.

Reply by email

Florian Klaempfl
to Michal Bukovjan
Michal Bukovjan wrote 13 lines
I noticed that the whole LCL is not written in AnsiString, but rather short strings. I remember this was because AnsiStrings were not ready when the LCL/Lazarus project was at the beginning. My question is, is the AnsiString feature (i.e. huge 2GB strings) already in production state and therefore, could we consider to switch to using these (the H+ directive)? What do you think?

Ansistrings can be used in production, there should no more bugs. Only a small
problem: ansistrings declared static or global in units (i.e. in the interface
or implementation) aren't disposed correctly

Reply by email