Guardian Programmer's Guide

Table Of Contents
Formatting and Manipulating Character Data
Guardian Programmer’s Guide 421922-014
19 - 12
VLIST[5].ELEMENT^PTR := @INT^ARRAY5;
VLIST[5].ELEMENT^OCCURS := 2;
!Format the data:
ERROR := FORMATDATA(BUFFERS,BUFFER^LENGTH,NUM^BUFFERS,
BUFFER^ELEMENTS,WFORMAT,VLIST,VLIST^LEN,
FLAGS);
IF ERROR <> 0 THEN ...
Figure 19-5 shows how the code fragment presented above works.
Figure 19-5. Buffer Control
VST098.VSD