Files
Nim/tests/tformat.nim
2010-02-14 00:29:35 +01:00

7 lines
189 B
Nim

# 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?