FILETYPE()

From Lianjapedia
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
Lianja
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()
Lianja