# Array with Nullable Elements in Delphi (uRONullable)

**URL:** https://talk.remobjects.com/t/array-with-nullable-elements-in-delphi-uronullable/33524
**Category:** Remoting SDK
**Tags:** delphi
**Created:** [June 19, 2026, 1:35pm UTC](https://talk.remobjects.com/t/array-with-nullable-elements-in-delphi-uronullable/33524 "2026-06-19T13:35:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![impet](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@impet](https://talk.remobjects.com/u/impet)
#### Post date: [June 19, 2026, 1:35pm UTC](https://talk.remobjects.com/t/array-with-nullable-elements-in-delphi-uronullable/33524/1 "2026-06-19T13:35:08Z")

</div>

Hi,

I’ve created Array with NullableInteger as Element Type  
My generated \_Intf.pas has code (RO ver 10.0.0.1613):  
`function NullableIntegerArray.IndexOf(const aValue: NullableInteger; const aStartFrom: Integer = 0): Integer;`  
`var`  
` lResult: Integer;`  
`begin`  
` for lResult := aStartFrom to fCount - 1 do`  
` if fItems[lResult] = aValue then begin`  
` Exit(lResult);`  
` end;`  
` Exit(-1);`  
`end;`  
Compiling error for `fItems[lResult] = aValue`:  
`[dcc32 Error] E2015 Operator not applicable to this operand type`

Is it possible add to Nullable Records in uRONullable additional operator `Equal`  
`class operator Equal(const a, b: NullableInteger): Boolean;`

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [June 19, 2026, 2:49pm UTC](https://talk.remobjects.com/t/array-with-nullable-elements-in-delphi-uronullable/33524/2 "2026-06-19T14:49:16Z")

</div>

Logged as [bugs://D19676](https://www.remobjects.com/portal/bugs/?id=D19676).

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [June 19, 2026, 3:00pm UTC](https://talk.remobjects.com/t/array-with-nullable-elements-in-delphi-uronullable/33524/3 "2026-06-19T15:00:18Z")

</div>

[bugs://D19676](https://www.remobjects.com/portal/bugs/?id=D19676) was closed as fixed.

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [June 22, 2026, 2:16pm UTC](https://talk.remobjects.com/t/array-with-nullable-elements-in-delphi-uronullable/33524/4 "2026-06-22T14:16:40Z")

</div>

Hi,

as a workaround, you can generate \_Intf.pas with with `GenericArray` = `Auto`:

 ![Untitled](https://talk.remobjects.com/uploads/default/original/3X/7/f/7f97cb9d2bb340db4ef3a8f3db80a58f0e064117.png)
