KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Generic Methods with Obsolete Code
PRODUCT: 4D | VERSION: 16 | PLATFORM: Mac & Win
Published On: January 5, 2018

Generic methods are often useful when building an application, and can serve a number of purposes. Something important to keep in mind when reviewing an application is that generic methods using obsolete commands are obsolete too! Any time an application's code is reviewed it is recommended to check for obsolete or depreciated commands.

A common example of an obsolete command that may be lingering in an application, especially one which has been around for some time, is the 4D command Open Window which has been obsolete since v2004 and was replaced with Open Form Window. Another commonly seen command which is now depreciated is C_STRING, which has been replaced in v12 with C_TEXT.

To find a list of commands depreciated over time, a good resource is the Deprecated and Removed Features section of the 4D Language Reference Documentation.