Home Page   We Generate Your Software.
Products Services Company Technology Demo Contact Site Map Search
The Somusar/SoProTech[tm] Booklet Series
Volume VI

"somusar/Tefigel: Reference Guide"

Printer friendly


Contents
1. Introduction
2. File Sections
3. Commands and Instructions
4. Markers
5. Comments
6. Special Characters
7. Variables
8. Arithmetic Computation
9. Boolean Computation
10. Control Flow
11. Subroutines and Functions
12. Built-in Functions
13. Input and Output
14. Packages and Libraries
14.1 Purpose
14.2 Usage
14.3 Description
15. Tag File Processing
16. CSV File Processing
17. Filters
18. Links and Traps
19. Name Spaces
20. Miscellaneous
21. Further Reading

Chapter 14 - Packages and Libraries

14.1 - Purpose        top

Divide logically related subroutines and functions into packages, hierarchically grouped in collections called libraries.

14.2 - Usage        top

Define a logical root, called library path, for a set of function and subroutine packages, to be used as the starting point within the file-system when searching for files, functions, or subroutines, to be processed or called.

   library <library-path-specifier>
Discard current definition of library path:
   library

14.3 - Description        top

A <library-path-specifier> can be either a valid directory pathname - absolute or relative - or a <variable> containing a string corresponding to a valid directory pathname.

File pathnames supplied as parameters to call and process instructions are first used literally by Tefigel to attempt completion of the relevant instruction; should this attempt fail, then the current library path - if previously defined by means of a library instruction - is used as a prefix to attempt the requested calling or processing of the supplied file pathname.

Tefigel allows to define only one library path at a time, to ensure that called or processed files can be uniquely identified.

[Previous chapter]    [Next chapter]    [Back to top]

http:// www.somusar.com  / doc  / booklets  / tefigel_ref  - Powered by SoProMach
Copyright © 2003-2012 Somusar - Trademarks - Legal - Privacy - Webmaster