summaryrefslogtreecommitdiff
path: root/test/stdfmtpad.myr
blob: b56601706ab3223b2970f3b712e262ae80fc4df1 (plain)
1
2
3
4
5
6
7
8
9
10
11
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("%3i\n", 100000)
}