After two release dates were cancelled, I'm finally able to release ZPE 1.11.4, aka OmegaZ, which will feature all of the previously discussed features such as union types and inline iteration etc. but will also include a major update to the record data type.
Previously, records looked like this:
YASS
record structure person { string forename = "" }
Now, with ZPE 1.11.4, they've been changed and the structure
keyword is now optional. Speaking of syntactic sugar, there is now an optional is
keyword:
YASS
record person { string forename = "" } record person is { string forename = "" }
As well as this, record instances use the new
keyword.
YASS
$x = new person()
And fields of the record are accessed using dot notation:
YASS
$x.forename = "John" print($x.forename)
Powered by DASH 2.0