C5 Obsolete Items

Obsolete Language Items
------------------------------------------------------------------------------

 In the Reference guide, the asterisk symbol is used to indicate
 items in the language that are obsolete or that exist for compatibility
 with previous releases of Clipper.  As you begin to incorporate
 new product features into your existing applications, it would be
 advisable to review your code to determine any obsolete items that you
 might be using.  This table lists each obsolete language item with its
 recommended replacement and should be helpful to you in updating your
 programs.

 Warning:  In the future, this table will be the only documentation
 for obsolete items because they will be removed from the Reference guide.
 Furthermore, obsolete items are not in keeping with the current
 Clipper programming philosophy, and we strongly discourage their use
 as they may not be supported in future releases of Clipper.

 Obsolete Language Items
-------------------------------------------------------------------------------
 Obsolete              | Recommended
                       |
 ADIR() function       | DIRECTORY() function
 AFIELDS() function    | DBSTRUCT() function
 CALL command          | Extend API
 CANCEL command        | QUIT command
 CLEAR ALL command     | CLOSE or RELEASE command
 DBEDIT() function     | TBrowse class
 DBF() function        | ALIAS() function
 DECLARE statement     | PRIVATE statement
 DIR command           | DIRECTORY() function
 DO statement          | Use function-calling syntax
 EXTERNAL statement    | REQUEST statement
 FIND command          | SEEK command
 FKLABEL() function    | Use constant value Fn where n ranges from one to 40
 FKMAX() function      | Use constant value of 40
 MOD() function        | Modulus operator (%)
 NOTE command          | C-style comment indicators, /*...*/ and //
 READKEY() function    | LASTKEY() function
 RECCOUNT() function   | LASTREC() function
 RESTORE SCREEN command| RESTSCREEN() function
 SAVE SCREEN command   | SAVESCREEN() function
 SET COLOR command     | SETCOLOR() function
 SET EXACT command     | Not recommended
 SET EXCLUSIVE command | USE command with EXCLUSIVE and SHARED clauses
 SET FORMAT command    | Not recommended
 SET PROCEDURE command | Compiler script files (.clp)
 SET UNIQUE command    | INDEX command with UNIQUE clause
 STORE command         | Inline assignment operator (:=)
 TEXT command          | ? or @...SAY command
 WAIT command          | @...GET...READ command or INKEY() function
 WORD() function       | Extend API
-------------------------------------------------------------------------------

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.