ibec_Array
The ibec_Array function returns a one-dimensional 0-based array of values.
Syntax
function ibec_Array(val1 [, val2, ..., valN) : variant;
Example
MyVar = ibec_Array('Some text', 23, NULL, 56.32);
The code above is equal to following:
MyVar[0] = 'Some text'; MyVar[1] = 23; MyVar[2] = NULL; MyVar[4] = 56.32
You can even pass arrays into IBEBlocks:
Example
execute ibeblock as begin MyBlock = 'execute ibeblock (inparam variant) as begin ibec_ShowMessage(inparam[0] || inparam[1] || inparam[2]); end'; MyVar[0] = 'Hello'; MyVar[1] = ', '; MyVar[2] = 'World!'; execute ibeblock MyBlock(MyVar); end
See also:
FOREACH statement
back to top of page
<< ibec_CopyData | IBEBlock | ibec_ds_Append >>