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

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