john_qa
15 years agoOccasional Contributor
Getting units and routines in script
Hello,
Is there a way to obtain in a script, the list of units from the project, or the list of routines and their units?
I've searched the documentation and i haven't found anything regarding this.
What I'm trying to do, is to call routines in Main unit without previously knowing its name, so adding new routines in new units doesn't force me to change the Main unit in order to allow me to execute them.
Thanks,
John
Is there a way to obtain in a script, the list of units from the project, or the list of routines and their units?
I've searched the documentation and i haven't found anything regarding this.
What I'm trying to do, is to call routines in Main unit without previously knowing its name, so adding new routines in new units doesn't force me to change the Main unit in order to allow me to execute them.
Thanks,
John