From afff026dbd0466cabbce17a1026f7927598cceea Mon Sep 17 00:00:00 2001 From: Grzegorz Adam Hankiewicz Date: Tue, 11 Dec 2012 22:24:07 +0100 Subject: Adds hyperlink to system module to explain TFileMode type. --- lib/pure/streams.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/pure/streams.nim b/lib/pure/streams.nim index 5db21d76a..212aab493 100755 --- a/lib/pure/streams.nim +++ b/lib/pure/streams.nim @@ -263,7 +263,8 @@ proc newFileStream*(f: TFile): PFileStream = proc newFileStream*(filename: string, mode: TFileMode): PFileStream = ## creates a new stream from the file named `filename` with the mode `mode`. - ## If the file cannot be opened, nil is returned. + ## If the file cannot be opened, nil is returned. See the `system + ## `_ module for a list of available TFileMode enums. var f: TFile if Open(f, filename, mode): result = newFileStream(f) -- cgit 1.4.1-2-gfad0