Symbol.st
changeset 68 59faa75185ba
parent 62 e1b4369c61fb
child 77 6c38ca59927f
equal deleted inserted replaced
67:e52341804063 68:59faa75185ba
    24 
    24 
    25 Symbols represent unique strings - every symbol with same printString
    25 Symbols represent unique strings - every symbol with same printString
    26 exists exactly once in the system; Symbols are used for selectors, global
    26 exists exactly once in the system; Symbols are used for selectors, global
    27 variable-keys etc.
    27 variable-keys etc.
    28 
    28 
    29 $Header: /cvs/stx/stx/libbasic/Symbol.st,v 1.7 1994-02-25 13:05:43 claus Exp $
    29 $Header: /cvs/stx/stx/libbasic/Symbol.st,v 1.8 1994-03-30 09:37:04 claus Exp $
    30 '!
    30 '!
    31 
    31 
    32 !Symbol class methodsFor:'instance creation'!
    32 !Symbol class methodsFor:'instance creation'!
    33 
    33 
    34 XXXbasicNew:size
    34 XXXbasicNew:size
   161 %}
   161 %}
   162 !
   162 !
   163 
   163 
   164 printOn:aStream
   164 printOn:aStream
   165     "aStream nextPut:$#."
   165     "aStream nextPut:$#."
   166     aStream nextPutAll:(self printString)
   166     aStream nextPutAll:self "(self printString)"
   167 !
   167 !
   168  
   168  
   169 displayString
   169 displayString
   170     "return a string for displaying the receiver"
   170     "return a string for displaying the receiver"
   171 
   171