|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
D - array slicing
This has probably already been mentioned , and I know D's not implementing new features , but what about using negative numbers to indicate starting from the end of the array char [] x = "comma,"; char [] y = x[0 .. -1]; // y is 'comma' No special charaters , no new keywords , no scoping rules ( is length still a keyword in slicing ? ). Thoughts ? Charlie Dec 16 2004
Charles wrote:using negative numbers to indicate starting from the end of the array Dec 16 2004
Charles wrote:This has probably already been mentioned , and I know D's not implementing new features , but what about using negative numbers to indicate starting from the end of the array char [] x = "comma,"; char [] y = x[0 .. -1]; // y is 'comma' Dec 17 2004
Been talked to death already, starting from Dec 17 2004
Are we (people interested in D) really satisfied if only bugs got fixed Dec 17 2004
Ben Hinkle wrote:Are we (people interested in D) really satisfied if only bugs got fixed and D remained the way it is now? Dec 17 2004
"Benjamin Herr" <ben 0x539.de> wrote in message news:cpv0qd$2gju$1 digitaldaemon.com...Ben Hinkle wrote:Are we (people interested in D) really satisfied if only bugs got fixed and D remained the way it is now? Dec 17 2004
what's troll?? :-& "Ben Hinkle" <bhinkle mathworks.com> wrote in message news:cpv19s$2hao$1 digitaldaemon.com..."Benjamin Herr" <ben 0x539.de> wrote in message news:cpv0qd$2gju$1 digitaldaemon.com...Ben Hinkle wrote:Are we (people interested in D) really satisfied if only bugs got fixed and D remained the way it is now? Dec 17 2004
"Lionello Lunesu" <lionello.lunesu crystalinter.remove.com> wrote in message news:cpv1pl$2hvc$1 digitaldaemon.com...what's troll?? :-& Dec 17 2004
Ben Hinkle wrote:"Benjamin Herr" <ben 0x539.de> wrote in message news:cpv0qd$2gju$1 digitaldaemon.com...Ben Hinkle wrote:Are we (people interested in D) really satisfied if only bugs got fixed and D remained the way it is now? Dec 17 2004
"Benjamin Herr" <ben 0x539.de> wrote in message news:cpvb30$2sao$1 digitaldaemon.com...Ben Hinkle wrote:"Benjamin Herr" <ben 0x539.de> wrote in message news:cpv0qd$2gju$1 digitaldaemon.com...Ben Hinkle wrote:Are we (people interested in D) really satisfied if only bugs got fixed and D remained the way it is now? Dec 17 2004
Lionello Lunesu wrote:Been talked to death already, starting from Dec 17 2004
|