SBL\'s v\'s Record
User Schoen, Torsten 3865 PPE-QA1 (Torsten.Schoen@de.heidelberg.com) posted:
a wrapper function "wraps" a functionality to better suit your needs and
provide a certain level of abstaction. One example would be if you
experience a problem with one Basic command like GetField you can program
your own MyGetField that avoids the problem. You put it in a library and use
it from then own. Logging is another example. With a wrapper function you
could specify another parameter that you would use to decide whether you log
to screen with SQAConsoleWrite or to the log with SQALogMessage. Comes in
handy while debugging.
Another example, if you are an experienced C programmer you might want to
wrap some Basic function with a wrapper that allows C like behaviour.
Heidelberger Druckmaschinen AG