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

1. Introduction
2. File Sections
3. Commands and Instructions
4. Markers
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
15. Tag File Processing
16. CSV File Processing
17. Filters
17.1 Purpose
17.2 Usage
17.3 Description
18. Links and Traps
19. Name Spaces
20. Miscellaneous
21. Further Reading

Chapter 17 - Filters

17.1 - Purpose        top

Associate Tefigel processors (subroutines) with text lines matching regular expressions.

17.2 - Usage        top

Activate a filter for a given regular expression:

   filter <file-reference> <regular-expression>
Deactivate filter previously associated with a regular expression:
   filter <file-reference>

17.3 - Description        top

When an input line processed by Tefigel matches the <regular-expression> associated with a filter, a call to the subroutine specified by means of <file-reference> is automatically issued by Tefigel, providing as argument the whole text line via REG_0.

[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