<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">On 8/9/21 3:00 PM, Juan Vuletich wrote:<br>
</div>
<blockquote type="cite" cite="mid:61112700.40900@jvuletich.org">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
On 09/08/2021 09:33 a.m., Nicola Mingotti via Cuis-dev wrote:
<blockquote
cite="mid:0a0ed88e-b42d-08ee-c44f-955620a4e03f@gmail.com"
type="cite">
<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 </font></font> </blockquote>
</blockquote>
<blockquote type="cite" cite="mid:61112700.40900@jvuletich.org">
Cheers,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich</pre>
</blockquote>
<br>
Thank you Juan, just discovered ;) <br>
<br>
bye<br>
n.<br>
<br>
<br>
</body>
</html>