When you want to build a library. The first you difine prototype of Subs Functions. They are in *.sbh file.Then you define the body of Subs Function in *sbl.The last you comple to create sbx file.When you wan t o use this library you just deliver *.sbh *.sbx file only Example you want to build a library for calculation1)CalLib.sbhdeclare Function basiclib CalLib Sum(a b ) as integer......2)CalLib.sblFunction Sum( a b ) as integer Sum a+bEnd Function3) compile (Ctrl+F7) > CalLib.sbx4) creat new script file'$include CalLib.sbh Sub Main msgbox Sum(1 2)End Sub hope it fulfill what you want. Anything else please contact to me
.SBL ---.SBL is a library file where all the functions have been intialized and programmed while
.SBH ---.SBH is a file where all the functions have been declared and whenever you need to intialize any function then that can all be done. Moreover all static & constant variables can also be declared in .SBH files which will be used Rational Scripts.
Both the files will be declared in SQA Basic Script file. You can't compile both the files individually. You will have to compile them through Script file only.
sbh is the extention of the header file and it is used to declare the functions or procedures only sbl is the extention of the library file and here we can add code for the defined header files.