module Hello
{
config const message: string = "Hello, world!";
proc main()
{
writeln( message );
}
}
The program compiles fine with no errors, but my attempt to run gives the following errors.
./hello2-module.chpl: line 1: module: command not found
./hello2-module.chpl: line 4: syntax error near unexpected token `('
./hello2-module.chpl: line 4: ` proc main()'
Something is not right.