Joker data type
The Joker
data type is an internal data type that isn't exposed to AL developers. Joker
can replace any other type and represents a wildcard. In certain cases, Joker
plays the role of a generic T which is inferred from the type of the left-hand side of the invocation expression, in other cases, it is inferred from another parameter.
The following illustrates examples of how Joker
is used in AL.
procedure SetRange(Field: Joker, [FromValue: Joker], [ToValue: Joker])
procedure SetFilter(Field: Joker, String: Text, [Value: Joker, ...])
procedure SetAscending(Field: Joker, Ascending: Boolean)