Anonymous user
Generate lower case ASCII alphabet: Difference between revisions
m
→{{header|NetLogo}}: consistency
(→{{header|NetLogo}}: New Entry) |
m (→{{header|NetLogo}}: consistency) |
||
Line 2,039:
<lang nesl>lower_case_ascii = {code_char(c) : c in [97:123]};</lang>
=={{header|NetLogo}}==
====Rationale====
Since NetLogo has no "ASC" type reporters, we will have to enumerate the characters.
To make an omission easier to detect, we use a phrase, instead of a list
Since the phrase has duplicates and spaces, we use other list tools to produce just the sorted alphabet
====Code====
<lang netlogo>
to-report alphabet-lower
Line 2,051 ⟶ 2,052:
end
</lang>
===
<pre>
observer> print alphabet-lower
|