Synopsis

PDX_MSGT ddf_MakeFieldNum(char *name, int *fld_num)

Purpose

Convert a field name to a field number.

Description

The field number corresponding to the field name name is returned. This can be used to compare a field to a symbolic name by using the function ddf_GetFieldNum on the field to be compared. If the field is not found in the current DDF, an error will be returned.

Input

name

Name of the field to get the field number for

Output

fld_num

Field number of the field

Return

DDF error code