|
Functions - Introduction
Coding standards for Rational Robot
(Continued from previous question...)
Functions - Introduction
Common used functions are placed within libraries in the SQABasic directory. Files ending
with “.SBH” contain the public interface they provide to other libraries and scripts. Files
ending with “SBL” contain the implementation of the public interface and private functions.
You use them by including them in your testscript or in another library. However, never
ever include a .SBL-file into your script or library, instead include the header file only
(.SBH) otherwise you run into cyclic redundancy problems and the compiled SBX file
growths for nothing.
Example
GOOD:
'$include "axCommon.sbh"
FORBIDDEN:
'$include "axCommon.sbl"
(Continued on next question...)
Other Interview Questions
|