Skip to content

Size_of_Field

Obsolete

This command is obsolete. Use the DF_FIELD_LENGTH and DF_FIELD_PRECISION attributes instead.

See Also: Field, Put_String, Type

Purpose

To return the size of a field in a complex data structure in bytes.

Syntax

size_of_field
    field
to
    variable

Argument Explanation

  • field: The field in a complex data structure whose size is to be returned.
  • variable: The name of a variable to which the value of field is to be moved.

What It Does

size_of_field returns the number of bytes occupied by field in a complex data structure.

Notes

  • The value returned by this command is not affected by the length of field's contents, as fields in complex data structures are always padded out to their full lengths with ASCII zeroes to the extent their contents fall short.