
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SIx Driver RDD v3.00 - Reference Guide - <b>ordfor():</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
OrdFor():
Syntax: OrdFor( <cOrderName> | <nOrder> [, <cIndexFile>] )
cOrderName = The name of the Order (or tag) to be created.
nOrder = An integer that identifies the position in the Order List
of the target Order whose cForExp is sought.
cIndexFile = The name of the index file containing one or more Orders.
You may specify <cIndexFile> as the filename with or
without the path name or extension. If you do not inc-
lude the extension as part of <cIndexFile>, the default
extension of the currently active RDD is assumed.
Returns:
A character expression representing the FOR condition of the specified
Order. If the Order was not created using the FOR clause the return
value will be an empty string (""). If the database driver does not
support the FOR condition, it may either return an empty string ("")
or raise an "unsupported function" error, depending on the driver.
Description:
OrdFor() is an Order management function that returns the character
string representing the logical FOR condition of the Order, <cOrderName>
or <nOrder>.
Example:
USE test VIA "SIXNSX"
INDEX ON test->LAST TO LAST FOR test->AGE > 35
? OrdFor( "LAST" ) // Returns: "test->AGE > 35"
See Also: Sx_TagInfo() INDEX OrdKey() OrdCreate() OrdName() OrdNumber()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson