Figure 2-12 screen template for accounting applica – Nortel Networks VT100 User Manual

Page 30

Advertising
background image

Template files 2-17

Meridian IVR VT100 Gateway Development Guide Product release 2.0/I

Figure 2-12
Screen template for accounting application

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-descriptor that 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-descriptor line 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.

#Screen template file to obtain the current balance; filename: customer.scn
customer1,1Account
#places balance into buffer
0,0Balance:$

Advertising