Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour tools help- GT lib - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

FIELDTYPE()

Determines the type of a given field.
---------------------------------------------------------------------------------

 Syntax

        FIELDTYPE(<nFieldNum>) --> cFieldType  

 Arguments

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

 Returns

        FIELDTYPE()   returns the character that designates the type of 
                  a given field:
      +-------------------------+
      | 'C' | character string; |
      | 'N' | numeric;          |
      | 'L' | logical;          |
      | 'D' | date;             |
      | 'M' | memo.             |
      +-------------------------+

 Description

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

 Examples

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

Status

      Ready

 Compliance

      This function is CA-CLIPPER tools compatible

 Files

      Library is libmisc



See Also: FIELDSIZE() FIELDDECI()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson