User's Guide

Inspecting your own dictionary

You can easily define a dictionary and then inspect it. For example, type the expression below and then evaluate it using the Inspect option on the Edit menu.

(Dictionary new)
  at: #name1  put: 'John';
  at: #name2  put: 'Nancy';
  at: #number put: 20;
  at: #date  put: (Date today);
  yourself.

The expression creates a dictionary and adds a list of objects to it.
Dictionary Inspector

As with a regular Inspector window, you can change the values for keys simply by replacing them with different values. Changing variables shows how to change values in an inspector.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]