FILETYPE()

From Lianjapedia
Revision as of 12:03, 9 February 2012 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

Purpose

Function to return the filetype of the active table or the table in a specified workarea

Syntax

FILETYPE([<expN>])

See Also

COPY, INDEX, INDEXEXT(), SET FILECASE, SET INDEXEXT, USE

Description

The FILETYPE() function returns the filetype of the active table. The optional <expN> can be used to specify the workarea of an open table for which the filetype is returned.

Filetype
Recital
Clipper 87
dBASE III+
dBASE IV
FoxPlus
FoxPro
Visual FoxPro

If there is no active table, or no open table in the workarea specified by <expN>, the FILETYPE() function returns an empty string.

Example

use demo
? filetype()
Recital