Harbour Reference 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

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30