- (NSInteger) fieldLength: (NSInteger) fieldno;

The function fieldLength() returns a length of a field by index.
It returns 0 if index is out of range.


{
    // your code
    for (NSInteger i=0; i < [dbf fieldCount]; i++)
        NSLog(@"%ld", [dbf fieldLength:i] );
    // your code
}