summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorpatrick dw <algorithicimperative@gmail.com>2015-06-19 01:38:31 -0500
committerpatrick dw <algorithicimperative@gmail.com>2015-06-19 01:38:31 -0500
commit4e275f2a1a1995d6b7a2bc461b96d804368c0931 (patch)
treedc2e14a29c01c51627c9a91231a2df4333968cd1 /examples
parentf71eaf66be35b2f4e7c12ebbb16ec301564bb0ab (diff)
downloadNim-4e275f2a1a1995d6b7a2bc461b96d804368c0931.tar.gz
renamed writeln to writeLine in examples
Diffstat (limited to 'examples')
-rw-r--r--examples/cgi/example.nim2
-rw-r--r--examples/cgiex.nim6
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/cgi/example.nim b/examples/cgi/example.nim
index 17629982a..761197cdb 100644
--- a/examples/cgi/example.nim
+++ b/examples/cgi/example.nim
@@ -4,4 +4,4 @@ write(stdout, "Content-type: text/html\n\n")
 write(stdout, "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\">\n")
 write(stdout, "<html><head><title>Test</title></head><body>\n")
 write(stdout, "Hello!")
-writeln(stdout, "</body></html>")
+writeLine(stdout, "</body></html>")
diff --git a/examples/cgiex.nim b/examples/cgiex.nim
index 7e3292f35..fb55a731a 100644
--- a/examples/cgiex.nim
+++ b/examples/cgiex.nim
@@ -7,6 +7,6 @@ writeContentType()
 
 write(stdout, "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\">\n")
 write(stdout, "<html><head><title>Test</title></head><body>\n")
-writeln(stdout, "name: " & myData["name"])
-writeln(stdout, "password: " & myData["password"])
-writeln(stdout, "</body></html>")
+writeLine(stdout, "name: " & myData["name"])
+writeLine(stdout, "password: " & myData["password"])
+writeLine(stdout, "</body></html>")