New and Enhanced Commands and Functions in FoxPro Ver 2.6

ID: Q113943

2.60    | 2.60
WINDOWS | MS-DOS kbref kbprg

The information in this article applies to:

SUMMARY

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 "What's New Since FoxPro version 2.5" topic.

MORE INFORMATION

NEW FOXPRO COMMANDS AND FUNCTIONS

The 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 COMMANDS

The 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