Problem with adding classes
Hello,
I want to add classes to a script, and don't want to add the classes to fsglobalunit, because I need to have them local.
I cann add the classes by calling:
fsscript.AddClass(Tmyclass, 'Tpersistent');
If I do so, the class is not accessable in my script. It is only accessable, if I add it by calling:
fsglobalunit.AddClass(Tmyclass, 'Tpersistent');
In the documentation I read, that I also should be able to add the class localy for the script. Why doesn't it woirk?
cu
Helmut
I want to add classes to a script, and don't want to add the classes to fsglobalunit, because I need to have them local.
I cann add the classes by calling:
fsscript.AddClass(Tmyclass, 'Tpersistent');
If I do so, the class is not accessable in my script. It is only accessable, if I add it by calling:
fsglobalunit.AddClass(Tmyclass, 'Tpersistent');
In the documentation I read, that I also should be able to add the class localy for the script. Why doesn't it woirk?
cu
Helmut
Comments