Difference between revisions of "FILETYPE()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Helen.george (Talk | contribs) |
||
(3 intermediate revisions by 3 users not shown) | |||
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 | + | [[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" width="100%" | |
− | {| class="wikitable" | + | |
!Filetype | !Filetype | ||
|- | |- | ||
− | | | + | |Lianja |
|- | |- | ||
|Clipper 87 | |Clipper 87 | ||
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 42: | Line 36: | ||
use demo | use demo | ||
? filetype() | ? filetype() | ||
− | + | Lianja | |
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Latest revision as of 12:22, 1 February 2013
Contents
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