pTAL Guidelines for TAL Programmers
Overview
pTAL Guidelines for TAL Programmers—527256-002
1-4
Deciding Whether to Convert to pTAL
Figure 1-2 on page 1-4 shows a model of a generic application. Processor time for the
application is divided between time spent in TAL code and time spent in system code.
The application might call the file system to perform the following sequence of tasks:
1. Read a record from a terminal
2. Read data from a database
3. Update a database
4. Write a prompt to, and wait for the next input from, the terminal
In this model, most of the application’s time is spent in system code, not in your TAL
code.
Figure 1-2. Minimal CPU Application
Read Data
From Terminal
Access Database
Write Response
to Terminal
Database
Application
File System
VST002.vsd