Template files 2-17

Figure 2-12

Screen template for accounting application

#Screen template file to obtain the current balance; filename: customer.scn customer1,1Account

#places balance into buffer 0,0Balance:$

In Figure 2-12, the first line is a comment describing the screen template file. The screen-name is “customer,” the name of the screen template file without the .scn extension. The “1,1” represents the location of the validation tag on the screen. The row is listed first, followed by the column. “Account” is the screen validation tag.

The fourth line is the field-descriptorthat describes an action to take. This field descriptor is going to find an exact match to “Balance:” and place the contents of the field into a buffer. The field-descriptorline has many variations, depending on what you want to do with a field. For example, the third line in Figure 2-12 could be entered as

2,48 — $

This would place the contents of the field starting at 2,48 into the next buffer. See “field-I/O” later in this section.

An explanation of each entry in the screen template follows.

Meridian IVR VT100 Gateway Development Guide Product release 2.0/I

Page 30
Image 30
Nortel Networks VT100 manual Screen template for accounting application