Files
Nim/tests/tformat.nim
2009-09-15 23:22:22 +02:00

7 lines
189 B
Nim
Executable File

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