Attempt 1 - Squeak 3.0.6
Action-click the desktop -> Browser
Select a package
Amend the code in the lower pane, to change the #NameOfClass and the package name
Object subclass: #Person
instanceVariableNames: 'forenames surname'
classVariableNames: ''
poolDictionaries: ''
category: 'MyNewApp'
To create the accessors automagically:
Select the class, and action-click, then : Refactor class > Accessors
This seems to work
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment