summary refs log tree commit diff stats
path: root/tests/tformat.nim
blob: aba35504bfea19ed359b738c42322b754cd5596d (plain) (blame)
1
2
3
4
5
6
# Tests the new format proc (including the & and &= operators)

import strutils

echo("Hi $1! How do you feel, $2?\n" % ["Andreas", "Rumpf"])
#OUT Hi Andreas! How do you feel, Rumpf?