Ecere SDK/eC Forums • View topic - DynamicString

Ecere SDK/eC Forums

Ecere Developers Community


General help with the eC language.


Postby samsam598 » Wed Dec 19, 2012 3:33 am


Just curious when did DynamicString added in SDK?

I like ecString or just string more than DynamicString,but string is hard to use as it is everywere in source code,I may typedef DynamcString to ecString in my own projects :D

And I think it great to move(at least copy) those string functions(they are great!) in to be member functions in DynamicString class.
Posts: 208
Joined: Thu Apr 14, 2011 9:44 pm

Re: DynamicString

Postby jerome » Thu Mar 28, 2013 12:33 am

Hi Sam!

I somehow missed that post of yours, sorry!

DynamicString is a type which Redj added for use in a few places, including the IDE.
It's in extras, so it's not part of the Ecere runtime library.

It is not to be confused with the official upcoming eC String data type (which I hope we'll have in 2013). That future type should be all that DynamicString can do, it should have all the functions, and a lot more, but it should also be lighter than DynamicString (which is basically an Array<char>) and more interchangeable with the char *.

That new String type will probably stick to the current 'String' type name (which is already interchangeable with char *).


Site Admin
Posts: 623
Joined: Sat Jan 16, 2010 11:16 pm

Return to eC Language

Who is online

Users browsing this forum: No registered users and 0 guests