$FUNCNAME$
  FIELDGET()
$CATEGORY$
  DATABASE
$SUMMARY$
   Retrieve the value of a field using the ordinal position of the field in the
$LANG_RU$
     ,      
$SYNTAX$
     FIELDGET(<nField>) --> ValueField
$LANG_RU$
     FIELDGET(< >)  -->  
$ARGUMENTS$
     <nField> is the ordinal position of the field in the record
     structure for the current work area.
$LANG_RU$
     < > -        
       
$RETURNS$
     FIELDGET() returns the value of the specified field.  If <nField> does
     not correspond to the position of any field in the current database
     file, FIELDGET() returns NIL.
$LANG_RU$
     FIELDGET()    .  < >
        -     , 
     FIELDGET()  NIL.
$DESCRIPTION$
     FIELDGET() is a database function that retrieves the value of a field
     using its position within the database file structure rather than its
     field name.  Within generic database service functions this allows,
     among other things the retrieval of field values without use of the
     macro operator.
$LANG_RU$
     FIELDGET() -   ,   ,
            . 
     ,   ,    
       .
$EXAMPLES$
       This example compares FIELDGET() to functionally equivalent
	code that uses the macro operator to retrieve the value of a field:

	LOCAL nField := 1, FName, FVal
	USE Customer NEW
	//
	// Using macro operator
	FName := FIELD( nField )           // Get field name
	FVal := &amp;FName                     // Get field value
	// Using FIELDGET()
	FVal := FIELDGET( nField )         // Get field value
$LANG_RU$
           FIELDGET() 
         ,  
           :

       LOCAL nField := 1, FName, FVal
       USE Customer NEW
       //
       //   
       FName := FIELD( nField )
       FVal := &amp;FName

       //  FIELDGET()
       FVal := FIELDGET( nField )
$SEEALSO$
  FIELDPUT()
$END$
