Thread overview | |||||
---|---|---|---|---|---|
|
March 18, 2003 Text file handling | ||||
---|---|---|---|---|
| ||||
Is there a succinct way for opening a text file and returning an array containing every character in the file? Thanks in advance Matthew |
March 18, 2003 Re: Text file handling | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew Wilson | 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);
|
March 18, 2003 Re: Text file handling | ||||
---|---|---|---|---|
| ||||
Posted in reply to Burton Radons | :) "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); > |
Copyright © 1999-2021 by the D Language Foundation