Difference between revisions of "SET INDEXEXT"

From Recital Documentation Wiki
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET INDEXEXT=
 
 
 
==Class==
 
Xbase Compatibility
 
 
 
 
==Purpose==
 
==Purpose==
 
Specify file extension for index filenames
 
Specify file extension for index filenames
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
INDEX, REINDEX, EDITFIELD(), FILETYPE(), FMT(), INDEXEXT(), SET CLIPPER, SET CLIPPER5, SET COMPATIBLE, SET EDITFIELD, SET FILECASE, SET FILETYPE, SET FORMAT, SET INDEX, SET MEMOEXT, SET PCEXACT, SET PCFILTER, SET PCGRAPHICS, SET PCKEYS, SET PCLOCKING, SET PCPICTURE, SET PCSAYS, SET PCUNIQUE, DB_FOXPLUSBUGS, DB_FOXPROKEYS, DB_SAMBA
+
[[DB_FOXPLUSBUGS]], [[DB_FOXPROKEYS]], [[DB_SAMBA]], [[EDITFIELD()]], [[FILETYPE()]], [[FMT()]], [[INDEX]], [[INDEXEXT()]], [[REINDEX]], [[SET CLIPPER]], [[SET CLIPPER5]], [[SET COMPATIBLE]], [[SET EDITFIELD]], [[SET FILECASE]], [[SET FILETYPE]], [[SET FORMAT]], [[SET INDEX]], [[SET MEMOEXT]], [[SET PCEXACT]], [[SET PCFILTER]], [[SET PCGRAPHICS]], [[SET PCKEYS]], [[SET PCLOCKING]], [[SET PCPICTURE]], [[SET PCSAYS]], [[SET PCUNIQUE]]
  
  
Line 21: Line 14:
 
The SET INDEXEXT TO command specifies the extension that will be used for index files.
 
The SET INDEXEXT TO command specifies the extension that will be used for index files.
  
{|
+
 
|Parameter||Description
+
{| class="wikitable"
 +
!Parameter||Description
 
|-
 
|-
 
|<expC1>||Specifies the extension for single index files.  If omitted, the single index file extension is set to the default extension ’ndx’.
 
|<expC1>||Specifies the extension for single index files.  If omitted, the single index file extension is set to the default extension ’ndx’.
Line 29: Line 23:
 
|-
 
|-
 
|}
 
|}
 +
  
 
The default index file extensions are also affected by the SET COMPATIBLE and SET CLIPPER commands.
 
The default index file extensions are also affected by the SET COMPATIBLE and SET CLIPPER commands.
Line 34: Line 29:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set indexext to ".ntx", ".cdx"
 
set indexext to ".ntx", ".cdx"
 
index on name to names
 
index on name to names
use name index names</pre>
+
use name index names</code>
  
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
[[Category:Set_Commands]]
+
[[Category:Set_Commands|INDEXEXT]]

Latest revision as of 16:03, 23 November 2009

Purpose

Specify file extension for index filenames


Syntax

SET INDEXEXT TO [<expC1>[, <expC2>]]


See Also

DB_FOXPLUSBUGS, DB_FOXPROKEYS, DB_SAMBA, EDITFIELD(), FILETYPE(), FMT(), INDEX, INDEXEXT(), REINDEX, SET CLIPPER, SET CLIPPER5, SET COMPATIBLE, SET EDITFIELD, SET FILECASE, SET FILETYPE, SET FORMAT, SET INDEX, SET MEMOEXT, SET PCEXACT, SET PCFILTER, SET PCGRAPHICS, SET PCKEYS, SET PCLOCKING, SET PCPICTURE, SET PCSAYS, SET PCUNIQUE


Description

The SET INDEXEXT TO command specifies the extension that will be used for index files.


Parameter Description
<expC1> Specifies the extension for single index files. If omitted, the single index file extension is set to the default extension ’ndx’.
<expC2> Specifies the extension for multiple (tag) index files.


The default index file extensions are also affected by the SET COMPATIBLE and SET CLIPPER commands.


Example

set indexext to ".ntx", ".cdx"
index on name to names
use name index names


Products

Recital Server, Recital