# FIELDGET()

Obtains the value of a specified field

Syntax

  FIELDGET(<nField>) --> ValueField

Arguments

  <nField> Is the numeric field position

Returns

  <ValueField> Any expression

Description

  This function returns the value of the field at the <nField>th location in the selected or designed work area.If the value in <nField> does not correspond to n avaliable field position in this work area, the function will return a NIL data type.

Examples

          FUNCTION Main()
          USE Test NEW
          ? Test->(FieldGet(1))
          USE
          RETURN NIL

Status

  Ready

Compliance

  This function is CA-Clipper Compliant.

Files

  Library is rdd

See Also

- FIELDPUT()