HP Data Entry and Forms Management System (VPLUS) Reference Manual (32209-90024)

118 Chapter3
INTRODUCTION TO FORMS DESIGN
USING FORMSPEC TO CREATE AN ARB
:RUN ARBPROG
Field 1 : Buffer offset from0=1
Length = 2
Type = INT
Value = 1234
Field 2 : Buffer offset from0=3
Length = 2
Type = INT
Value = 1234
Field 3 : Buffer offset from0=6
Length = 2
Type = INT
Value = 1234
Field 4 : Buffer offset from0=9
Length = 4
Type = DINT
Value = 12345678
Field 5 : Buffer offset from0=14
Length = 4
Type = DINT
Value = -1234567
Field 6 : Buffer offset from0=19
Length = 4
Type = DINT
Value = 12345678
Field 7 : Buffer offset from0=23
Length = 8
Type = CHAR
Value = ABCDEFGH
END OF PROGRAM
:
The trace provides the following information. It shows:
The location of each field in the ARB (Buffer offset);
The length of each field in the ARB (Length);
The type of transformation that occurs (Type);
The value that is transformed in the ARB field (Value).
NOTE
This ARB is tied to seven form fields, but there are gaps in the buffer before
field 1, and between each field from 2 to 6. These gaps are one-byte filler
fields.