<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
solved, i think i found the right way: <br>
<br>
FooClass package packageDirectoryName . <br>
<br>
bye<br>
n.<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 8/9/21 2:33 PM, Nicola Mingotti
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:0a0ed88e-b42d-08ee-c44f-955620a4e03f@gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<font size="+1"><font face="monospace">Hi again,<br>
<br>
Problem. I have made my own package, classes, methods.<br>
Ok, all is ready to start the real work. But I need to do<br>
some cleaning and put data files in a reasonably safe
directory<br>
Example: some JSON data file needed by my methods.<br>
<br>
The ideal for me would be to put the data files in the same
directory<br>
containing the FooBar.pck.st file, or a sub-directory of it.<br>
<br>
Now, it would be all easy if i could say <br>
----<br>
FooBar getMyPackageDirectory.<br>
----<br>
<br>
Up to now i found that<br>
-----------------<br>
ou1 _ CodePackageList new. "# here I can find the loaded
package list."<br>
<br>
Then I could iterate over CodePackage list in 'CodePackageList
new packages' and check<br>
the first one containing class 'FooBar'.<br>
<br>
What I ask you is this. Can I go in the inverse way? Does<br>
a Class know who is its ClassCatergory ? Does a ClassCategory<br>
know who is its package ? <br>
<br>
<br>
bye<br>
Nicola<br>
<br>
</font></font> </blockquote>
<br>
</body>
</html>