Ecere SDK/eC Forums http://www.ecere.com/forums/ Print view |
|
DynamicString http://www.ecere.com/forums/viewtopic.php?f=1&t=343 |
Page 1 of 1 |
Author: | samsam598 [ Wed Dec 19, 2012 3:33 am ] |
Post subject: | DynamicString |
Greetings, 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 And I think it great to move(at least copy) those string functions(they are great!) in String.ec to be member functions in DynamicString class. |
Author: | jerome [ Thu Mar 28, 2013 12:33 am ] |
Post subject: | Re: DynamicString |
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 String.ec 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 *). Regards, Jerome |
All times are UTC-05:00 | Page 1 of 1 |
Powered by phpBB® Forum Software © phpBB Limited |