FT_FLEN()
Return a field's length.
──────────────────────────────────────────────────────────────────────────────

Syntax

FT_FLEN( <xVar> ) -> nLen

Arguments

<xVar> is either a field name or ordinal .DBF position.

Returns

the length of the specified field. -1 if error.

Description

FT_FLEN() reports the length of any .DBF field.

Examples

nLen:= FT_FLEN("unit_prc")
nLen:= FT_FLEN( 2 )
- or -
nNum:= FT_FNUM( "unit_prc" )
nLen:= FT_FLEN( nNum )

Source: FIELD.PRG

Author: Steve Kolterman