Guardian Programmer's Guide

Table Of Contents
Formatting and Manipulating Character Data
Guardian Programmer’s Guide 421922-014
19 - 10
Format-Directed Formatting
!Format the data:
ERROR := FORMATDATA(BUFFERS,
BUFFER^LENGTH,
NUM^BUFFERS,
BUFFER^ELEMENTS,
WFORMAT,
VLIST,
VLIST^LEN,
FLAGS);
IF ERROR <> 0 THEN ...
Figure 19-4 shows the operation of the FORMATDATA procedure for this example.
(For simplicity the FORMATCONVERT procedure is omitted from this figure.)
Figure 19-4. Formatting Numbers and Text
VST097.VSD