From 405b86068e6a3d39970b9129ceec0a9108464b28 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Sun, 22 Jun 2008 16:14:11 +0200 Subject: Initial import --- tests/tformat.nim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 tests/tformat.nim (limited to 'tests/tformat.nim') diff --git a/tests/tformat.nim b/tests/tformat.nim new file mode 100755 index 000000000..01be0df3a --- /dev/null +++ b/tests/tformat.nim @@ -0,0 +1,6 @@ +# Tests the new format proc (including the & and &= operators) + +import strutils, io + +echo("Hi $1! How do you feel, $2?\n" % ["Andreas", "Rumpf"]) +#OUT Hi Andreas! How do you feel, Rumpf? -- cgit 1.4.1-2-gfad0