www.delorie.com/gnu/docs/smalltalk/gst_48.html   search  
Buy GNU books!

GNU Smalltalk User's Guide

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.2 Using some of the Smalltalk classes

This chapter has examples which need a place to hold the objects they create. The following line creates such a place; for now, treat it as magic. At the end of the chapter we will revisit it with an explanation. Type in:
   Smalltalk at: #x put: 0 !

Now let's create some new objects.

4.2.1 An array in Smalltalk  
4.2.2 A set in Smalltalk  
4.2.3 Dictionaries  Getting more sophisticated, eh?
4.2.4 Smalltalk dictionary  A very important dictionary, really
4.2.5 Closing thoughts  There always ought to be some closing thoughts

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003