Hi André,
Changing to LongIntegerToIdentifier did work. But I don't have to choose for the platform if the value 1 should be intepreted as a IntegerToIdentifier or all LongIntegerToIdentifier. The value is in range of both types and the result should be and Indentifier and it should matter if it's coming from an Integer or LongInteger.
So this is indeed a bug from my point of view.
Changing to LongIntegerToIdentifier did work. But I don't have to choose for the platform if the value 1 should be intepreted as a IntegerToIdentifier or all LongIntegerToIdentifier. The value is in range of both types and the result should be and Indentifier and it should matter if it's coming from an Integer or LongInteger.
So this is indeed a bug from my point of view.