dev/smalltalk/helloworld/somebasic.st

6 lines
374 B
Smalltalk
Raw Normal View History

2014-03-25 18:26:55 +04:00
"Everything, including a literal, is an object, so this works:"
-199 abs displayNl "199"
'gst is cool' size displayNl "11"
( 'Slick' indexOf: $c ) displayNl "4"
'Nice Day Isn''t It?' asLowercase asSet asSortedCollection asString displayNl "' '?acdeinsty'"