You can use dynamic parameters anywhere in an expression where their data type can be easily deduced.
Once the type of a dynamic parameter is determined based on the
expression it is in, that expression is allowed anywhere it would normally
be allowed if it did not include a dynamic parameter. For example, above we
said that a dynamic parameter cannot be used as the operand of a unary -.
It can, however, appear within an expression that is the operand of a unary
minus, such as:
The dynamic parameter is assumed to be an INTEGER (because the binary operator +'s other operand is of the type INT). Because we know its type, it is allowed as the operand of a unary -.