[MOD][Modules] How to create a new module
Henrik Gedenryd
h.gedenryd at open.ac.uk
Wed Feb 6 17:07:57 UTC 2002
Hannes Hirzel wrote:
> - Choose 'add item..'; the system pops up a dialog 'add category name'
> - Type in the 'People HannesHirzel'
>
> -> The system answers with an error:
> 'You cant do it this way with modules.
> Categories are computed from module paths.'
This should be removed. I have intentionally avoided UI work to prioritize
the foundations.
One way is to simply create a new class, as noted. Perhaps a command in the
browser menu would be useful after all?
Anyway, to access a module object you use
Module @ path
which is short for
Module fromPath: path
which is a variant of
Module fromPath: path forceCreate: boolean
The short forms don't create a new module, but if you put true in the last
one you create the new module.
Henrik
More information about the Squeak-dev
mailing list
|