Idiomatically determine all the characters that can be used for symbols: Difference between revisions

Content added Content deleted
(→‎{{header|Wren}}: Oops, should have included digits in list of allowable symbols.)
Line 1,093: Line 1,093:
<syntaxhighlight lang="wren">for (i in 97..122) System.write(String.fromByte(i))
<syntaxhighlight lang="wren">for (i in 97..122) System.write(String.fromByte(i))
for (i in 65..90) System.write(String.fromByte(i))
for (i in 65..90) System.write(String.fromByte(i))
for (I in 48..57) System.write(String.fromByte(i))
System.print("_")</syntaxhighlight>
System.print("_")</syntaxhighlight>


{{out}}
{{out}}
<pre>
<pre>
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_
</pre>
</pre>