Closed tenko closed 2 years ago
The following code:
module TestDate import Out var a : [32]char begin a := "abc123" Out.String(a) Out.Ln() a[0] := 0x Out.String(a) Out.Ln() end TestDate
Outputs:
Starting application... abc123 bc123 The application finished with code 0
This is with the Mono backend.
Fixed in next commit. System.WriteLine(char[]) apparently doesn't care if there is a zero char; now I converti it to string and use WriteLine(string)..
Commit is up.
The following code:
Outputs:
This is with the Mono backend.