i4glItemsNullable

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.

The initial value of the variable depends on how you declare it:

Example

The two programs below have different initial values for i:
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

Compatibility considerations

Table 2. Compatibility considerations
Platform Issue
JavaScript generation The property i4glItemsNullable is not supported.

Feedback