Skip to content

Offset_Of_Field

See Also: Field, Put_String, Type

Purpose

To get the position of a field in a complex data structure as a number of bytes from the beginning of the structure.

Syntax

Offset_Of_Field {field} To {variable}

Argument Explanation

  • field: The name of the field whose offset is to be returned.
  • variable: The name of a variable to contain the returned value.

What It Does

Offset_Of_Field places the number of bytes between the beginning of field and the beginning of the complex data structure that contains it into the variable named at the end of the statement.