Hello World
Every Jiang executable starts at main. Its integer return value becomes the process exit status.
Compile and run:
For byte-oriented output with explicit error handling, use std.io.stdout():
A Small Function
Section titled “A Small Function”Functions use their final expression as the return value when no explicit return is needed.