Difference between revisions of "FILETYPE()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to return the filetype of the active table or the table in a specified workarea
 
Function to return the filetype of the active table or the table in a specified workarea
 
  
 
==Syntax==
 
==Syntax==
 
FILETYPE([<expN>])
 
FILETYPE([<expN>])
 
  
 
==See Also==
 
==See Also==
[[COPY]], [[CREATE]], [[DB_FOXPLUSBUGS]], [[DB_FOXPROKEYS]], [[DB_SAMBA]], [[INDEX]], [[INDEXEXT()]], [[READEXIT()]], [[READINSERT()]], [[SET CLIPPER]], [[SET CLIPPER5]], [[SET COMPATIBLE]], [[SET EDITFIELD]], [[SET FILECASE]], [[SET FILETYPE]], [[SET INDEXEXT]], [[SET MEMOEXT]], [[SET PCEDIT]], [[SET PCEXACT]], [[SET PCFILTER]], [[SET PCGRAPHICS]], [[SET PCKEYS]], [[SET PCLOCKING]], [[SET PCPICTURE]], [[SET PCSAYS]], [[SET PCUNIQUE]], [[USE]]
+
[[COPY]], [[INDEX]], [[INDEXEXT()]], [[SET FILECASE]], [[SET INDEXEXT]], [[USE]]
 
+
  
 
==Description==
 
==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.
 
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"
 
{| class="wikitable"
Line 33: Line 29:
 
|-
 
|-
 
|}
 
|}
 
  
 
If there is no active table, or no open table in the workarea specified by <expN>, the FILETYPE() function returns an empty string.
 
If there is no active table, or no open table in the workarea specified by <expN>, the FILETYPE() function returns an empty string.
 
  
 
==Example==
 
==Example==
Line 45: Line 39:
 
</code>
 
</code>
  
 
==Products==
 
Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Revision as of 12:03, 9 February 2012

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