Odin
Odin copied to clipboard
Add `fmt.*printfln`
Adds the following procedures, which just call through to the printf versions, with newline = true; a new parameter
also added in this commit.
In all cases, wprintf is the one that ultimately writes the newline, if requested.
printflnfprintflneprintflnaprintflntprintflnbprintflncaprintflnctprintflnsbprintflnwprintfln
These procs are useful as I often find myself switching between println and printf, and often find myself wanting the newline.
I originally just cutnpasted a version of *printf that also added a newline, but after doing so I figured that adding a newline := false parameter to the *printf procs might be a neater choice, so that's what I've done here.
I also noticed while doing this that something similar could be done with *print vs *println, but I've left that out of this PR.
Ready