Hello World

  • Difficulty: 000/100
  • Author: jeremy theler
  • Keywords: PRINT, TEXT,

The classical example that displays “hello world!” at the standard output and exits.


To solve the canonical Hello World! problem with wasora, just prepare a text file like the one shown below and call it for example hello.was. Then run wasora with hello.was as its only argument as also shown below, and you are done. If this is the first wasora example you read, please do try to run it by yourself before proceeding with the other ones.

PRINT TEXT "hello world!"
$ wasora hello.was
hello world!    

The keyword TEXT is not strictly needed (unless given the IMPLICIT NONE keyword), as the construction hello world! does not resolve to any known symbol. However, it is a good practice to explictly precede any text with the TEXT keyword.