<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Am 25.09.2015 um 18:12 schrieb robert:<br>
</div>
<blockquote cite="mid:56057281.7020202@gmail.com" type="cite">I must
define variableByte subclasses in the category. Categories are not
part of the namespace nor or symbols looked for there. SO I need
programmatic access. I didn't find anything in the documentation,
as it is an implementation issue. Could someone knowledgeable
point out how I can do this?
<br>
<br>
ty,
<br>
Robert
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">
</pre>
</blockquote>
It is somewhat unclear what you want to achieve.<br>
Categories are simple strings, and "Smalltalk organization" (a
SystemOrganizer) keeps the association between classes and
categories.<br>
To create a class in a given category, just execute the class
creation expression with the proper category, something like this:<br>
<br>
| nameOfYourClass nameOfYourCategory |<br>
nameOfYourClass := #MyNewClass.<br>
nameOfYourCategory := 'MyOldCategory'.<br>
Object variableByteSubclass: nameOfYourClass<br>
instanceVariableNames: ''<br>
classVariableNames: ''<br>
poolDictionaries: ''<br>
category: nameOfYourCategory<br>
<br>
Cheers,<br>
Hans-Martin<br>
</body>
</html>