summaryrefslogtreecommitdiff
path: root/test/stdfmtpad.myr
blob: f83661108891a0a8ee285a7a9f2b4e131593b758 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)
}