If the i4glItemsNullable property is set to YES, EGL emulates the behavior of I4GL in creating variables as nullable by default (not normally the case in EGL). The default for this property is NO. This property is typically used by EGL migration; you do not need it for new code.
This property applies to programs, libraries, records, and handlers.
For more information about nullable variables, see Null values and the nullable type.
Primitive type | Initial value |
---|---|
numeric, INTERVAL | 0 |
HEX | 0s |
DATE | December 31, 1899 |
TIME | The current time |
TIMESTAMP | The current timestamp |
anything else | NULL |
program X { I4GLItemsNullable = YES } function main() i int; // i is initially 0 end end program Y function main() i int?; // i is initially null end end program Z { I4GLItemsNullable = YES } function main() i int?; // i is initially 0 end end
Platform | Issue |
---|---|
JavaScript generation | The property i4glItemsNullable is not supported. |