Avoid parameters

AVOID is a Class instance called AISNULL. This instance has different properties, one for every data type. The values of these properties are always Null. In the future, an assignment will be possible without changing its value (it is the equivalent of a (void) cast on a function in C, when the return value must be ignored). But this is not yet usable.

The purpose of this instance is to enable declaring a "Void" parameter whenever a variable argument is expected in calls that are set in the Classes or Representation dictionaries. If the user does not need the return value sent by the call, no null constant is allowed and a variable is mandatory. In this case, using 'AVOID.PROPERTY' with a Property of the expected data type is accepted. This prevents the development partner from declaring and managing a variable that will not be used.

The properties present in the instance are summarized as follows:

Property name Data type
ACHAR Character string
ASHORT Short integer
AINT Integer
ADEC Decimal number
ADATE Date
ALIB Local menu (byte value). Deprecated, to be replaced by ATINYINT
ATINYINT Byte value
ACLOB CLOB (large character file)
ABLOB BLOB (large binary file)
AINS Instance pointer
AUUIDENT Unique ID
ADATTIM Date time