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

Content added Content deleted
(add RPL)
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 1,067: Line 1,067:


Identifiers which begin with underscores can only be used as instance field names (one underscore) or static field names (two or more underscores).
Identifiers which begin with underscores can only be used as instance field names (one underscore) or static field names (two or more underscores).
<syntaxhighlight lang="ecmascript">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))
System.print("_")</syntaxhighlight>
System.print("_")</syntaxhighlight>