Hello World!

The classic "hello world" program looks like this in Crystal:

puts "Hello world!"

From this you can see that the main routine is simply the program itself: there's no need to define a "main" function or something similar.

results matching ""

    No results matching ""