CharacterArray.st
changeset 17192 dc09b5644f84
parent 17191 4af58fcf0955
child 17205 b266cb703584
equal deleted inserted replaced
17191:4af58fcf0955 17192:dc09b5644f84
    10  hereby transferred.
    10  hereby transferred.
    11 "
    11 "
    12 "{ Package: 'stx:libbasic' }"
    12 "{ Package: 'stx:libbasic' }"
    13 
    13 
    14 UninterpretedBytes variableByteSubclass:#CharacterArray
    14 UninterpretedBytes variableByteSubclass:#CharacterArray
    15 	instanceVariableNames:''
    15         instanceVariableNames:''
    16 	classVariableNames:'PreviousMatch DecoderTables EncoderTables DecodingFailedSignal
    16         classVariableNames:'PreviousMatch DecoderTables EncoderTables DecodingFailedSignal
    17 		EncodingFailedSignal'
    17                 EncodingFailedSignal'
    18 	poolDictionaries:''
    18         poolDictionaries:''
    19 	category:'Collections-Text'
    19         category:'Collections-Text'
    20 !
    20 !
    21 
    21 
    22 !CharacterArray class methodsFor:'documentation'!
    22 !CharacterArray class methodsFor:'documentation'!
    23 
    23 
    24 copyright
    24 copyright
  5684      escape character to be used (typically $$ or $% are effectively used).
  5684      escape character to be used (typically $$ or $% are effectively used).
  5685      Write the receiver to aStream, where all %i escapes are
  5685      Write the receiver to aStream, where all %i escapes are
  5686      replaced by corresponding arguments' printStrings from the argArrayOrDictionary.
  5686      replaced by corresponding arguments' printStrings from the argArrayOrDictionary.
  5687      I.e. 'hello %1; how is %2' expandPlaceholdersWith:#('world' 'this') results
  5687      I.e. 'hello %1; how is %2' expandPlaceholdersWith:#('world' 'this') results
  5688      in the new string 'hello world; how is this'.
  5688      in the new string 'hello world; how is this'.
  5689      As an extension, the argument may also be a dictionary, providing
  5689      As an extension, the argument may also be a dictionary, providing values for symbolic keys.
  5690      values for symbolic keys.
       
  5691      In this case, %a .. %z and %(...) are also allowed.
  5690      In this case, %a .. %z and %(...) are also allowed.
  5692      (%1..%9 require a numeric key in the dictionary, however)
  5691      (%1..%9 require a numeric key in the dictionary, however)
       
  5692      Also, the values in argArrayOrDictionary may be blocks.
  5693      To get a '%' character, use a '%%'-escape.
  5693      To get a '%' character, use a '%%'-escape.
  5694      To get an integer-indexed placeHolder followed by another digit,
  5694      To get an integer-indexed placeHolder followed by another digit,
  5695      or an index > 9, you must use %(digit).
  5695      or an index > 9, you must use %(digit).
  5696      See also bindWith:... for VisualAge compatibility.
  5696      See also bindWith:... for VisualAge compatibility.
  5697      Use %<cr> to insert a CR and %<tab> to insert a TAB."
  5697      Use %<cr> to insert a CR and %<tab> to insert a TAB."
  7262 
  7262 
  7263 
  7263 
  7264 !CharacterArray class methodsFor:'documentation'!
  7264 !CharacterArray class methodsFor:'documentation'!
  7265 
  7265 
  7266 version
  7266 version
  7267     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.557 2014-12-08 15:12:00 cg Exp $'
  7267     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.558 2014-12-08 16:27:10 cg Exp $'
  7268 !
  7268 !
  7269 
  7269 
  7270 version_CVS
  7270 version_CVS
  7271     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.557 2014-12-08 15:12:00 cg Exp $'
  7271     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.558 2014-12-08 16:27:10 cg Exp $'
  7272 ! !
  7272 ! !
  7273 
  7273 
  7274 
  7274 
  7275 CharacterArray initialize!
  7275 CharacterArray initialize!