Difference between revisions of "FILETYPE()"

From Lianjapedia
Jump to: navigation, search
 
Line 11: Line 11:
 
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.
 
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.
  
{| class="wikitable" width=100%
+
{| class="wikitable" width="100%"
 
!Filetype
 
!Filetype
 
|-
 
|-

Latest revision as of 12:22, 1 February 2013

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