# FIELDSIZE()

Determines the size of a given field.

Syntax

  FIELDSIZE(<nFieldNum>) --> nFieldSize

Arguments

  <nFieldNum> Data field , which size need to be determined.

Returns

  FIELDSIZE() returns the number that designates the size of a given field.

Description

  This function determines the size of a field, designated by its number.

Examples

          FUNCTION Main()
          LOCAL i
          USE Tests NEW
          FOR i = 1 TO FCOUNT()
            ? FieldSize( i )
          NEXT
          USE
          RETURN NIL

Status

  Ready

Compliance

  This function is CA-CLIPPER tools compatible

Files

  Library is libmisc

See Also

- FIELDTYPE()
- FIELDDECI()