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 nameData type
ACHARCharacter string
ASHORTShort integer
AINTInteger
ADECDecimal number
ADATEDate
ALIBLocal menu (byte value). Deprecated, to be replaced by ATINYINT
ATINYINTByte value
ACLOBCLOB (large character file)
ABLOBBLOB (large binary file)
AINSInstance pointer
AUUIDENTUnique ID
ADATTIMDate time