Sounding a Beep

Sounding a Beep

To sound a beep on a portable, use an Output node with the Source option set to Constant and Destination set to System.

Figure 128. Output Beep Node

In the constant field, enter the human readable text of one of the following codes:

Sounds a high beep

. +

Sounds a low beep

. -

You can enter more than one code, for multiple tones. For example, .+.-.+sounds a high beep followed by a low beep followed by another high beep.

Padding a Number with Leading Zeros

Many database programs use fixed-length fields, which means that values stored in them must be a given number of characters long. Values with fewer than the required characters can be “padded” with zeros at the beginning; the value 12, for example, would appear as 0012. Tip14.scrn, illustrated in Figure 129 on page 158 uses a combination of Modify nodes, Copy nodes, and two templates to pad a number with leading zeros.

User’s Guide

157