Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Symbol comparison example
Last updated at 10:32 am UTC on 10 March 2016

asSymbol


Defining:
 a := 'hello'.
 b := 'hel', 'lo'.

evaluating
 a = b 
gives
 true

evaluating
 a == b 
gives
 false

evaluating
 a asSymbol == b asSymbol
gives
 true