www.digitalmars.com         C & C++   DMDScript  

D - Text file handling

reply "Matthew Wilson" <dmd synesis.com.au> writes:
Is there a succinct way for opening a text file and returning an array
containing every character in the file?

Thanks in advance

Matthew
Mar 17 2003
parent reply Burton Radons <loth users.sourceforge.net> writes:
Matthew Wilson wrote:
 Is there a succinct way for opening a text file and returning an array
 containing every character in the file?
import file; file.read (filename);
Mar 17 2003
parent "Matthew Wilson" <dmd synesis.com.au> writes:
:)

"Burton Radons" <loth users.sourceforge.net> wrote in message
news:b56hko$64d$1 digitaldaemon.com...
 Matthew Wilson wrote:
 Is there a succinct way for opening a text file and returning an array
 containing every character in the file?
import file; file.read (filename);
Mar 18 2003