Category:Smalltalk: Difference between revisions

Line 119:
'hello' "string constant; an instance of String"
 
'öäü こんにちは世界' "string constntconstant; unicode is supported by most implementations"
 
#'foo' "symbol constant; similar to symbols in lisp, two symbols are identical if they are equal"
 
#foo "symbol constant; quotes can be omitted, iff the symbol does not contain special chars
 
#(1 true $a 16rFF 1.0 (10 20)) "array literal constant; the last element being another array; an instance of Array"
Anonymous user