shithub: mc

ref: 77a41acbc02d1a63dd8d1345e3cf1875befd7eaa
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)
}