changed: #expandPlaceholdersWith:on:
authorClaus Gittinger <cg@exept.de>
Thu, 18 Nov 2010 15:32:38 +0100
changeset 13137 c31e493cb3ca
parent 13136 e7d331537665
child 13138 d2eb0eba5907
changed: #expandPlaceholdersWith:on: print nil as \"nil\"
CharacterArray.st
--- a/CharacterArray.st	Thu Nov 18 11:41:33 2010 +0100
+++ b/CharacterArray.st	Thu Nov 18 15:32:38 2010 +0100
@@ -4734,7 +4734,7 @@
                 ].
             ] ifFalse:[
                 next isDigit ifTrue:[
-                    v := argArrayOrDictionary at:(next digitValue) ifAbsent:nil
+                    v := (argArrayOrDictionary at:(next digitValue) ifAbsent:'') asString
                 ] ifFalse:[
                     next == $( ifTrue:[
                         idx2 := self indexOf:$) startingAt:idx+2.
@@ -4753,7 +4753,7 @@
                                     key isNumeric ifTrue:[
                                         key := Integer readFrom:key onError:nil.
                                     ].
-                                    v := argArrayOrDictionary at:key ifAbsent:nil
+                                    v := (argArrayOrDictionary at:key ifAbsent:'') asString
                                 ]
                             ].
                         ].
@@ -4817,7 +4817,7 @@
      ].
     "
 
-    "Modified: / 12-08-2010 / 13:23:10 / cg"
+    "Modified: / 18-11-2010 / 15:01:02 / cg"
 !
 
 firstLine
@@ -5814,11 +5814,11 @@
 !CharacterArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.440 2010-09-21 06:58:24 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.441 2010-11-18 14:32:38 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.440 2010-09-21 06:58:24 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.441 2010-11-18 14:32:38 cg Exp $'
 ! !
 
 CharacterArray initialize!