| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Creates a set/get code block for an array.
HB_ArrayBlock( <aArray>, <nIndex> ) --> bCodeblock
The function returns a code block accessing the array element <nIndex> of <aArray>. The code block accepts one parameter used to assign a value to the array element.
Function HB_ArrayBlock() creates a code block that accesses one element of an array. It is normally used when a one dimensional array ise edited with Get() objects. The code block can be assigned to Get():block for editing the values stored in the array elements.
| See also: | Array(), Get() |
| Category: | Array functions , xHarbour extensions |
| Source: | rtl\arrayblk.prg |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com