Category:Smalltalk: Difference between revisions

Content added Content deleted
Line 307: Line 307:
#'foo' "symbol constant; similar to symbols in lisp, two symbols are identical if they are equal"
#'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
#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"
#(1 true $a 16rFF 1.0 (10 20)) "array literal constant; the last element being another array; an instance of Array"