tlet.nim 317 B

1234567891011121314151617181920
  1. discard """
  2. output: '''Very funny, your name is name.
  3. nameabc'''
  4. """
  5. proc main =
  6. let name = "name"
  7. if name == "":
  8. echo("Poor soul, you lost your name?")
  9. elif name == "name":
  10. echo("Very funny, your name is name.")
  11. else:
  12. echo("Hi, ", name, "!")
  13. let (x, y) = ("abc", name)
  14. echo y, x
  15. main()