"Tom" <[email protected]> wrote in message news:[email protected]...
> Do I have to do this?
>
> file.write(cast(string)"hello");

You can set the type of a string literal using a suffix:

"hello"c - string
"hello"w - wstring
"hello"d - dstring 


Reply via email to