shithub: mc

ref: 0c0a9801c0e2b92832a9f91d6a6e7f94e8ba277d
dir: /test/stdfmtpad.myr/

View raw version
use std

const main = {
	std.put("%10s\n", "abcd")
	std.put("%010s\n", "bdcae")
	std.put("%010s\n", "abcdefghijkl")
	std.put("%01s\n", "a")
	std.put("%10i\n", 10)
	std.put("%010i\n", 10)
	std.put("%010ui\n", -1)
	std.put("%010i\n", -1)
	std.put("%10i\n", -1)
	std.put("%3i\n", 100000)
}