summary refs log blame commit diff stats
path: root/tests/tformat.nim
blob: 01be0df3a9d95c8002878269ca089bd3af85e664 (plain) (tree)
1
2
3
4
5
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?