shithub: mc

ref: 2fecc0b35b964469479c81cab2ebf5359f2bab89
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)
}