On 08/15/2012 06:55 AM, d_follower wrote:
On Wednesday, 15 August 2012 at 13:41:10 UTC, RommelVR wrote:Make a an enum, const or otherwise immutable.I don't think you understood the question.
I thought RommelVR did understand the question. Try this:
import std.stdio;
enum a = "a";
string b = a;
void main()
{
writeln(b);
}
Ali
--
D Programming Language Tutorial: http://ddili.org/ders/d.en/index.html
