pg95-field-number

Name

pg95-field-number -- Determine which field has a given name.

Type: function

Synopsis

pg95-field-number( result name, field-num);

Arguments

result

An instance of <pg95-result>

name

An instance of <string>

Return Values

field-num

An instance of <fixnum>

Description

This function looks up the given name in the fields of a result, returning the index of the field, field-num (0-based).