Contents: | Main | Chapter | See Also: | Getting Started Manual | Programmer Manual |
Format: | The syntax of this function is different because the
function's name is defined by the user. The name is a number followed by an
ordinal number suffix.
|
Parameters: |
|
Use: | This function returns the nth entry in a file or in a Multiple identified by fname. If the second format is used, the value of the specified field associated with the nth entry in fname is returned. The nth entry is determined by the internal entry number; the function does not analyze the values of the entries. When used with the second format, the nth subentry with a non-null value is returned. |
Examples: |
2ND(DIAGNOSIS)=> Angina Pectoris [the second entry in the DIAGNOSIS Multiple] 10TH(ADMISSION:ADMISSION DATE)=> JAN 2,1990 [ADMISSION DATE associated with the tenth ADMISSION] |
Reviewed/Updated: March 4, 2007