www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - readonly



It allows you to set the value a field in the constructor/static constructor,
but from then on the field can never be written.

It's like a const but where you calculate the initial value at runtime.

Si
Jul 11 2004