KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: Protecting Against Bad Parameter Counts
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: April 11, 2007
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

Calling a custom method with an incorrect parameter list may lead to error displays, crashes, or miscalculations in data. Fortunately, all of these problems are easily avoided with some simple defensive code. This technical note describes the range of behaviors 4th Dimension exhibits when methods do not protect against bad parameter counts, and then provides a generalized method for detecting and managing bad parameter lists.

Download Complete Tech Note and Example: Windows | Mac