Coding Standards/conventions Question:

Download Job Interview Questions and Answers PDF

Explain Functions Introduction?

Coding Standards Interview Question
Coding Standards Interview Question

Answer:

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"

Download Coding Standards Interview Questions And Answers PDF

Previous QuestionNext Question
Explain Naming Convention Verification points?What is Functions Indention?