IIndexer.Item Property (Long, Long) | |
Get/Set array elements with a ZERO based array index.
Namespace:
XSharp
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax PROPERTY SELF[
index1 AS LONG,
index2 AS LONG
] AS USUAL GET SET
Usual this[
int index1,
int index2
] { get; set; }
Parameters
- index1
- Type: Long
This indexer is ZERO based, however in your PRG code you can use ONE based array indices.
The compiler will recognize that this property is part of a type that implements a special interface
and will subtract one from the indexes, unless the /az compiler option is enabled.
- index2
- Type: Long
This indexer is ZERO based, however in your PRG code you can use ONE based array indices.
The compiler will recognize that this property is part of a type that implements a special interface
and will subtract one from the indexes, unless the /az compiler option is enabled.
Property Value
Type:
UsualRemarks
In your PRG code you can assess the elements with a ONE based index.
The compiler will recognize that this property is part of a type that implements a special interface
and will subtract one from the indexes, unless the /az compiler option is enabled.
See Also