summary refs log tree commit diff stats
path: root/examples/statcsv.nim
diff options
context:
space:
mode:
Diffstat (limited to 'examples/statcsv.nim')
-rwxr-xr-xexamples/statcsv.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/statcsv.nim b/examples/statcsv.nim
index e2f272a21..48c4ea0cc 100755
--- a/examples/statcsv.nim
+++ b/examples/statcsv.nim
@@ -8,7 +8,7 @@ import os, streams, parsecsv, strutils, math
 if paramCount() < 1:
   quit("Usage: statcsv filename[.csv]")
 
-var filename = appendFileExt(ParamStr(1), "csv")
+var filename = addFileExt(ParamStr(1), "csv")
 var s = newFileStream(filename, fmRead)
 if s == nil: quit("cannot open the file " & filename)