Scripts

Scripts are Smalltalk statements that implement action for a part. Scripts are also known as methods.

An example of a script is as follows:

wordsToShow
  "Return the string: Later text."
  | words |
  words := 'Later text'.
  ^words
 

This script named wordsToShow, when run, returns the words Later text.