I want to make sure I have the right understanding of how to write and use objects in scripts.
First, you can't instantiate an object which you've defined in a seperate script file. runex, etc, can only run subs or functions. You can only instantiate an object from within same the file in which it has been defined.
Second, in order to access your objects from an external file, you need to compile them into an assembly and add a reference to it in ScriptingReferences section of the settings.ini file. There's no other way it can be done.
Do I have it right?
First, you can't instantiate an object which you've defined in a seperate script file. runex, etc, can only run subs or functions. You can only instantiate an object from within same the file in which it has been defined.
Second, in order to access your objects from an external file, you need to compile them into an assembly and add a reference to it in ScriptingReferences section of the settings.ini file. There's no other way it can be done.
Do I have it right?
Comment