byte to char safe?

BCS ao at pathlink.com
Thu Jul 30 15:08:45 PDT 2009


Reply to Harry,

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

I think this will also work and you can be shure it's safe.

r"again" ~ '\x07' ~ r"hello"




More information about the Digitalmars-d-learn mailing list