null assignment to bit variable
Peter Thomassen
info at peter-thomassen.de
Tue Aug 15 14:53:53 PDT 2006
Sean Kelly schrieb am Dienstag, 15. August 2006 03:34:
> bool* test = null;
>
> test = new bool;
This looks nice ... but how do I read / write the value of test? After
assigning "new bool", reading it gives a memory address, and writing fails.
Maybe I should've posted to digitalmars.D.learn :-)
> (note that bit has been replaced by bool in recent versions of D)
Thanks.
Peter
More information about the Digitalmars-d
mailing list