Microsoft KB Archive/113943: Difference between revisions
From BetaArchive Wiki
(importing KB archive) |
m (Text replacement - ">" to ">") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
The information below describes the commands and functions that are new to, or enhanced in, FoxPro version 2.6. | The information below describes the commands and functions that are new to, or enhanced in, FoxPro version 2.6. | ||
This information is also found in FoxPro Help in the | This information is also found in FoxPro Help in the "What's New Since FoxPro version 2.5" topic. | ||
== MORE INFORMATION == | == MORE INFORMATION == | ||
Line 39: | Line 39: | ||
DESCENDING() See DESCENDING() | DESCENDING() See DESCENDING() | ||
FOR() See FOR() | FOR() See FOR() | ||
FDATE() FDATE( | FDATE() FDATE(<expC>) | ||
Returns the date when a file was last modified. For | Returns the date when a file was last modified. For | ||
dBASE compatibility only. | dBASE compatibility only. | ||
FLDLIST() FLDLIST([ | FLDLIST() FLDLIST([<expN>]) | ||
Returns the fields specified with SET FIELDS. For | Returns the fields specified with SET FIELDS. For | ||
dBASE compatibility only. | dBASE compatibility only. | ||
FTIME() FTIME( | FTIME() FTIME(<expC>) | ||
Returns the time a file was last modified. For dBASE | Returns the time a file was last modified. For dBASE | ||
compatibility only. | compatibility only. | ||
Line 65: | Line 65: | ||
OBJVAR() See OBJVAR() | OBJVAR() See OBJVAR() | ||
ON BAR See ON BAR | ON BAR See ON BAR | ||
ON EXIT BAR ON EXIT BAR | ON EXIT BAR ON EXIT BAR <expN> OF <popup name> [<command>] | ||
Executes a command when you choose a different menu | Executes a command when you choose a different menu | ||
option. For dBASE compatibility only. | option. For dBASE compatibility only. | ||
ON EXIT MENU ON EXIT MENU | ON EXIT MENU ON EXIT MENU <menu name> [<command>] | ||
Executes a command when you choose a different menu | Executes a command when you choose a different menu | ||
popup. For dBASE compatibility only. | popup. For dBASE compatibility only. | ||
ON EXIT PAD ON EXIT PAD | ON EXIT PAD ON EXIT PAD <pad name> OF <menu name> [<command>] | ||
Executes a command when you choose a different menu | Executes a command when you choose a different menu | ||
pad. For dBASE compatibility only. | pad. For dBASE compatibility only. | ||
ON EXIT POPUP ON EXIT POPUP | ON EXIT POPUP ON EXIT POPUP <popup name> [<command>] | ||
Executes a command when you choose a different popup | Executes a command when you choose a different popup | ||
in a menu. For dBASE compatibility only. | in a menu. For dBASE compatibility only. | ||
Line 92: | Line 92: | ||
RUN() Same as RUN | RUN() Same as RUN | ||
SET | SET | ||
( | ("ATTRIBUTES") SET("ATTRIBUTES") | ||
Returns color settings specified with SET COLOR. For | Returns color settings specified with SET COLOR. For | ||
dBASE compatibility only. | dBASE compatibility only. | ||
SET DIRECTORY Same as SET DEFAULT | SET DIRECTORY Same as SET DEFAULT | ||
SET | SET | ||
( | ("DIRECTORY") Same as SYS(5) + SYS(2003) | ||
SET( | SET("DISPLAY") For dBASE compatibility only | ||
SET FIELDS See SET FIELDS | SET FIELDS See SET FIELDS | ||
SET FORMAT See SET FORMAT | SET FORMAT See SET FORMAT | ||
SET KEY See SET KEY | SET KEY See SET KEY | ||
SET( | SET("LIBRARY") See SET LIBRARY | ||
SET MBLOCK See SET BLOCKSIZE | SET MBLOCK See SET BLOCKSIZE | ||
SET( | SET("MBLOCK") See SET BLOCKSIZE | ||
SET VIEW See SET VIEW | SET VIEW See SET VIEW | ||
SYS(1037) Print Setup Dialog. See SYS(1037) | SYS(1037) Print Setup Dialog. See SYS(1037) | ||
TAG() TAG([[ | TAG() TAG([[<cdx filename>,] <expN> [, <alias>]]) | ||
Returns TAG names from a .CDX file. For dBASE | Returns TAG names from a .CDX file. For dBASE | ||
compatibility only. | compatibility only. | ||
TAGCOUNT() TAGCOUNT([ | TAGCOUNT() TAGCOUNT([<cdx filename> [, <alias>]]) | ||
Returns the number of tags in .CDX file. For dBASE | Returns the number of tags in .CDX file. For dBASE | ||
compatibility only. | compatibility only. | ||
TAGNO() TAGNO([ | TAGNO() TAGNO([<order name> [, <cdx filename> [, <alias>]]]) | ||
Returns a tag number from a .CDX file. For dBASE | Returns a tag number from a .CDX file. For dBASE | ||
compatibility only. | compatibility only. |
Latest revision as of 17:51, 20 July 2020
New and Enhanced Commands and Functions in FoxPro Ver 2.6ID: Q113943 2.60 | 2.60 WINDOWS | MS-DOS kbref kbprg The information in this article applies to:
SUMMARYThe information below describes the commands and functions that are new to, or enhanced in, FoxPro version 2.6. This information is also found in FoxPro Help in the "What's New Since FoxPro version 2.5" topic. MORE INFORMATIONNEW FOXPRO COMMANDS AND FUNCTIONSThe following commands, functions and system memory variables have been added to FoxPro version 2.6, primarily for compatibility with dBASE IV. Command, Function, or System Memory FoxPro Variable Reference ---------- --------- _ASSIST See _ASSIST ASSIST ASSIST Brings up the FoxPro Catalog Manager. For dBASE compatibility only. BARCOUNT() See CNTBAR() BARPROMPT() Same functionality as PRMBAR() but parameter positions are reversed. BLANK See BLANK DESCENDING() See DESCENDING() FOR() See FOR() FDATE() FDATE(<expC>) Returns the date when a file was last modified. For dBASE compatibility only. FLDLIST() FLDLIST([<expN>]) Returns the fields specified with SET FIELDS. For dBASE compatibility only. FTIME() FTIME(<expC>) Returns the time a file was last modified. For dBASE compatibility only. HOME() Same as SYS(2004) ID() Same as SYS(0) ISBLANK() See ISBLANK() ISREADONLY() See ISREADONLY() KEYMATCH() See KEYMATCH() FLDCOUNT() Same as FCOUNT() MEMORY(0) Same as SYS(1001) MEMORY(1) Same as SYS(1001) MEMORY(2) Same as SYS(12) MEMORY(3) Same as SYS(1001) MEMORY(4) Same as SYS(23) MEMORY(5) Same as SYS(23) MEMORY(6) Same as SYS(1016) MEMORY(7) Returns 0 NORMALIZE() See NORMALIZE() OBJVAR() See OBJVAR() ON BAR See ON BAR ON EXIT BAR ON EXIT BAR <expN> OF <popup name> [<command>] Executes a command when you choose a different menu option. For dBASE compatibility only. ON EXIT MENU ON EXIT MENU <menu name> [<command>] Executes a command when you choose a different menu popup. For dBASE compatibility only. ON EXIT PAD ON EXIT PAD <pad name> OF <menu name> [<command>] Executes a command when you choose a different menu pad. For dBASE compatibility only. ON EXIT POPUP ON EXIT POPUP <popup name> [<command>] Executes a command when you choose a different popup in a menu. For dBASE compatibility only. ON MENU Same as ON SELECTION MENU ON MOUSE Same as ON KEY LABEL LEFTMOUSE ON PAD Same as ON SELECTION PAD ON POPUP Same as ON SELECTION POPUP PADPROMPT() Same as PRMPAD() PCOUNT() PCOUNT() Returns the number of parameters that were passed to the most recently called program procedure, or user- defined function (UDF). For dBASE compatibility only. PRTINFO() See PRTINFO() REPLACE FROM ARRAY See REPLACE FROM ARRAY RUN() Same as RUN SET ("ATTRIBUTES") SET("ATTRIBUTES") Returns color settings specified with SET COLOR. For dBASE compatibility only. SET DIRECTORY Same as SET DEFAULT SET ("DIRECTORY") Same as SYS(5) + SYS(2003) SET("DISPLAY") For dBASE compatibility only SET FIELDS See SET FIELDS SET FORMAT See SET FORMAT SET KEY See SET KEY SET("LIBRARY") See SET LIBRARY SET MBLOCK See SET BLOCKSIZE SET("MBLOCK") See SET BLOCKSIZE SET VIEW See SET VIEW SYS(1037) Print Setup Dialog. See SYS(1037) TAG() TAG([[<cdx filename>,] <expN> [, <alias>]]) Returns TAG names from a .CDX file. For dBASE compatibility only. TAGCOUNT() TAGCOUNT([<cdx filename> [, <alias>]]) Returns the number of tags in .CDX file. For dBASE compatibility only. TAGNO() TAGNO([<order name> [, <cdx filename> [, <alias>]]]) Returns a tag number from a .CDX file. For dBASE compatibility only. UNIQUE() Returns .T. if the specified index was created with the UNIQUE keyword or with SET UNIQUE ON. For dBASE compatibility only. USER() USER() Returns a user's network name. For dBASE compatibility only. WINDOW() Same as WOUTPUT() _SHELL See _SHELL ENHANCED FOXPRO COMMANDSThe following FoxPro commands have been enhanced:
Additional reference words: FoxDos FoxWin 2.60 foxhelp.dbf foxhelp.hlp KBCategory: kbref kbprg KBSubcategory: FxinteropDbase Keywords : FxinteropDbase Version : 2.60 | 2.60 Platform : MS-DOS WINDOWS |
Last Reviewed: May 1, 1996 |