Arrays and Unknown value (?)
- Last Updated: January 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Arrays and Unknown value (?)
Since arrays are Java objects, they can be assigned the null value.
However, int[ ], boolean[ ], and long[ ] are arrays of intrinsic
types, so the individual elements of the array cannot be null. The int[ ], boolean[ ], or long[ ] array as a whole can be null, which means that every element of the array
on the application server will be UNKNOWN. If you want to
assign Unknown value (?) to individual array elements, use
the Allow Unknown check box in ProxyGen, and the generated proxy will contain Integer[ ], Boolean[ ] or Long[ ]
for the parameter instead of int[ ], boolean[ ], or long[ ], respectively.