byte to char safe?

Daniel Keep daniel.keep.lists at gmail.com
Thu Jul 30 21:19:54 PDT 2009



Harry wrote:
> Again hello, 
> 
> char[6] t = r"again" ~ cast(char)7 ~ r"hello";
> 
> use only own write functions
> is ok?
> 
> thank you!

I think a more significant problem is that "again\x07hello" can't
possibly fit in six characters, unless you're using some crazy numbering
system I'm not familiar with.


More information about the Digitalmars-d-learn mailing list