HELP
An object that allows the user to unbuild a
record and recover one of its fields or
sub-fields.

USE
Use Get Field to extract a field or sub-field
of a record.  The Get Field object is simply
a Formula object that is initialized with an
input terminal Rec and the expression Rec.A.
Use the "dot" syntax to specify the field
that you want to extract from the record
input.  For example, Rec.A extracts the A
field from the Rec record input.

LOCATION
Data ==> Access Record ==> Get Field

OPEN VIEW PARAMETERS

* Formula field (unlabeled) - The default is
Rec.A.  You can enter any mathematical
formula allowed in the Formula object, but
normally you would want to use the A.B dot
syntax to extract a field from a record.  You
can add a Formula control input.

NOTES
The Get Field object is actually just a
Formula object that has been initialized with
a Rec input and the expression Rec.A.  You
can use any expression in Get Field that you
can use in a Formula object, but to extract a
field you will need to use the "dot" syntax
like Rec.A or A.B.C.

The A.B dot syntax in Get Field is fully
supported in all Formula objects.  These
include Formula, If/Then/Else, Get Values,
and all transaction devices (To File, To
String, etc.)  See "Using Records in
Expressions" in chapter 3 of the HP VEE 
Reference manual for further information 
about this syntax.

Note the distinction between the Get
Field, UnBuild Record, and SubRecord objects.

* The Get Field object works like a Formula
object, in that it uses dot syntax (A.B) to
unbuild a record.  Note that Get Field allows
you to unbuild a record of records in one
step by using an expression such as A.B.C.
This process would require two UnBuild Record
objects.

* The UnBuild Record object has outputs for
the Name List and Type List of the input
record fields.  The other (optional) outputs
A, B, etc.  of the UnBuild Record object
return the same results as would multiple Get
Field objects.

* The SubRecord object differs from UnBuild
Record and Get Field in that its output is
always a record.  The SubRecord device allows
you to either include or exclude a list of
fields from a record to form a subrecord.

SEE ALSO
Build Record, Formula, Record Constant, Set
Field, SubRecord, and UnBuild Record.
