Walter Bright wrote:
Lars T. Kyllingstad wrote:I've always wondered: Why are strings of type immutable(char)[], and not immutable(char[])?So: string a = "hello"; a = "foo"; works.
Ah, of course. :) Thanks. -Lars
Walter Bright wrote:
Lars T. Kyllingstad wrote:I've always wondered: Why are strings of type immutable(char)[], and not immutable(char[])?So: string a = "hello"; a = "foo"; works.
Ah, of course. :) Thanks. -Lars