Changes between Version 3 and Version 4 of PythonChallenge1Native
- Timestamp:
- 07/25/07 11:31:34 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PythonChallenge1Native
v3 v4 8 8 9 9 void main () { 10 char[] text = "" ;10 char[] text = "".dup; 11 11 12 12 foreach (inout char letter; text) { 27 27 {{{ 28 28 #!d 29 char[] text = "" ;29 char[] text = "".dup; 30 30 }}} 31 31 32 32 The source text from the challenge page should be put between the quotes. 33 dup is used because on Linux string literals are read-only. 33 34 34 35 {{{