FoxArray.Item Property (Long) | |
Get/Set array elements with a ZERO based array index.
Namespace:
XSharp
Assembly:
XSharp.VFP (in XSharp.VFP.dll) Version: 2.19
Syntax VIRTUAL PROPERTY SELF[
indices PARAMS LONG[]
] AS USUAL GET SET
public override Usual this[
params int[] indices
] { get; set; }
Request Example
View SourceParameters
- indices
- 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.
Return Value
Type:
UsualThe value of the property of the element stored at the indicated location in the array.
Implements
ItemLongItemLongRemarks
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