Dolphin Smalltalk - adding method

Posted by bialpio on Stack Overflow See other posts from Stack Overflow or by bialpio
Published on 2010-06-07T18:03:51Z Indexed on 2010/06/08 0:12 UTC
Read the original article Hit count: 626

Filed under:

Hi, I am trying to create a custom class in Dolphin Smalltalk. When I open the Workspace, type in and evaluate the code:

Object subclass: #Sudoku
    instanceVariableNames: 'board'
    classVariableNames: ''
    poolDictionaries: ''
    category: 'JiPP SudokuSolver'.

everything works fine and the class is created and visible from Class Browser.

The problem is, I want to add custom member method to this class, but without using Class Browser. Is it possible from the Workspace? I want to have one file with all the source code, so I don't have to worry about saving entire image.

© Stack Overflow or respective owner

Related posts about smalltalk