identification

Is there a language in which `print, "hello, world!"` is a valid Hello World program?


My Code Jam T-shirt has the following snippet of code on the front.

print, "hello, world!"

Here is an image of it (taken from the Hash Code Twitter, not my T-shirt):

This is not a correct Hello World program in any language that I know. It is almost Python 2, but not quite. Apparently it runs in Javascript, but it doesn't give any output. I have asked several people, and none of them know.

Is there any programming language in which this is a valid Hello, world program?


Solution

  • This could be Basic, which uses the comma as a "zone" delimiter. So it basically (hah) effects a 15 space indent before "hello world!".

    See http://www.dartmouth.edu/basicfifty/commands.html, "PRINT Statements".

    Although of course, it could also be something else entirely =D