fork download
  1. class FantomSay {
  2. Void main(Str[] args) {
  3. echo("hello")
  4. /*
  5. speech := args.first ?: "Fantom - It's Spookily Good!"
  6. width := speech.size
  7. bubble := ""
  8. bubble += " " + "".padl(width + 2, '_') + "\n"
  9. bubble += "< " + speech.justl(width) + " >\n"
  10. bubble += " " + "".padl(width + 2, '-') + "\n"
  11. ascii := bubble + " \\
  12. \\ .----.
  13. \\ / O O |
  14. / |
  15. / |
  16. \\/\\/\\/\\/"
  17. echo(ascii)*/
  18. }
  19. }
Success #stdin #stdout 2.06s 118560KB
stdin
"Fantom - It's Spookily Good!"
stdout
hello