shithub: mc

ref: 38a875c05a009fdd298e7a93086654c8b78b2f63
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)
}