Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void main(string[] args)
- {
- auto bindAddresses = ["127.0.0.1", "127.0.0.2", "127.0.0.3", "127.0.0.4", "127.0.0.5", "127.0.0.6", "192.168.1.100"];
- writefln("%-(%s<br/>%)", bindAddresses); // ok
- writefln("%-(%1$s<br/>%)", bindAddresses); // ok
- writefln("%-(%2$s<br/>%)", 4, bindAddresses, "+"); // error
- writefln("%1$s: %-(%2$s<br/>%), %3$s", 4, bindAddresses, "+"); // error
- writefln("%1$d: %-(%2$s<br/>%), %3$s", 4, bindAddresses, "+"); // error
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement