Files
Nim/tests/accept/run/tformat.nim
2010-02-26 01:26:16 +01: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?