# Synopsis

(macro) int ddf_GetFieldNum(DDF_FLD *fld)

# Purpose

Get field number.

# Description

The field number of the DDF_FLD fld is returned. A field name can be converted to a field number by using the function ddf_MakeFieldNum. This allows quick comparison of field names to a specific field without having to do strcmps. See the function ddf_MakeFieldNum for more information.

# Input

## fld

Field whose number is to be returned

# Return

The field number of fld.