Generate lower case ASCII alphabet
import "std/string.zc"
fn main() {
let letters = String::from("");
for r in 'a'..= 'z' { letters.push_rune(r) };
println "";
}
Output:
abcdefghijklmnopqrstuvwxyz
Attribution: This is a community solution for the Rosetta Code task Generate lower case ASCII alphabet in Zen C.
This article uses material from the Rosetta Code article Generate lower case ASCII alphabet, which is released under the GNU Free Documentation License 1.3. A list of the original authors can be found in the page history.