Forum Discussion

rajesh_makiredd's avatar
rajesh_makiredd
Occasional Contributor
11 years ago

How to build library with the subroutines

Hi,



    We have multiple projects but the some of the subroutines are same in all projects. Instead of copy and paste the same code i am planning to build those sub routines as a library and use accross all the projects. Please suggest me. Is there any alternate way other than library.



Thanks in advance.

3 Replies

  • hi rajesh,

    it is as including any other sj unit.



    1. right click on Script --> Add --> Existing Unit

    2. Select the required unit and click Open



    selected unit appears in your project. This is just a reference. Any change you make happens to the actual reflecting everywhere it is referenced/added

    Hope this helps.



    Thank you,Ashok
  • hi rajesh,

    it is as including any other sj unit.



    1. right click on Script --> Add --> Existing Unit

    2. Select the required unit and click Open



    selected unit appears in your project. This is just a reference. Any change you make happens to the actual reflecting everywhere it is referenced/added

    Hope this helps.



    Thank you,Ashok
  • NisHera's avatar
    NisHera
    Valued Contributor
    If these routines are used commonly everywhere, and like to kind of encapsulation, may be script extensions also an option.  



     more detail