Target Language Compiler    

Reading Record Files with TLC

Objective: Understand the structure of record files, and learn how to parse them with TLC directives.

Example directory: tlctutorial/guide

In this exercise you interpret a simple file of structured records with a series of TLC scripts. By doing this, you will learn how records are structured, and how the TLC %assign and %<> token expansion directives are used to process them. In addition, loops using %foreach, and scoping using %with are illustrated.

The exercise includes these steps, which you should follow sequentially:


  Introduction Structure of Record Files