Files
Nim/tests/tformat.nim
2008-08-23 11:16:44 +02: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?