| FT_LINKED() | Determine if a function was linked in |
| FT_RESTSETS() | Restore status of all SET command settings |
| FT_SAVESETS() | Save the status of all the SET command settings |
| FT_SETCENTURY() | Check/Set the CENTURY Setting |
| SET() | Under construction |
FT_LINKED( <cString> ) -> lResult
.T. if all functions within the string are currently linked into the application, .F. if one or more aren't. See below for a definition of "function."
This function would be used in data driven application to determine whether or not a macro compiled function was linked in.
Several functions can be passed, and nested, in <cString>.
Caveat: Some function calls are converted by the preprocessor into other function calls. You cannot have these types of functions in a macro compiled string as they never exist at runtime. FT_LINKED will correctly tell you that they are invalid.
For instance: there is no function called SORT() in any of the Nantucket LIBraries, but it is a valid CLIPPER command because the preprocessor will convert it to other function calls.
FT_RESTSETS( [ <aOldSets> ] ) -> NIL
No arguments
This function "restores" the SET Settings, i.e., it sets them to the values in the array aOldSets. The following SETs are not currently supported: FILTER, FORMAT, FUNCTION, INDEX, KEYS, MODE, ORDER, PROCEDURE, RELATION, TYPEAHEAD
FT_SAVESETS() -> aOldSets
No arguments
An array containing the values of the supported SETs.
This function saves the SET Settings, i.e., it copies them into an array, aOldSets. The following SETs are not currently supported: FILTER, FORMAT, FUNCTION, INDEX, KEYS, MODE, ORDER, PROCEDURE, RELATION, TYPEAHEAD
FT_SETCENTURY( [ <lNewSetState> ] ) -> <lOldState>
No arguments
The state of the CENTURY setting upon entry to the routine
This function returns the state (ON/OFF, TRUE/FALSE) of the CENTURY and optionally sets it ON or OFF.
| Пред. | Начало | След. |
| ARRAY | Уровень выше | DISKUTILS |