Tier two: the package block in the program's file
The complete source of packaging_withpackage_hello.ek9, compiled by the EK9 compiler. Shown on packaging.html.
#!ek9 defines module site.packaging.withpackage defines package version <- 1.0.0-0 description <- "Simple samples" applyStandardIncludes <- true defines program HelloWorld() stdout <- Stdout() record <- BaseRecord() duck <- Duck() stdout.println(`Hello, World ${record.anything} ${duck.quack()}`)
Download packaging_withpackage_hello.ek9
Output
Hello, World 90 Quack