Del Data Member Function

Deletes an item from the array.

Prototype

int32 Del( int32 p_nIndex )

Parameters

Parameter Type Parameter Name Documentation
int32p_nIndexThe index of the item to delete from the array.

Examples

Copy Text To Clipboard

import library "type_color_array_util.ssl";

auto Color565 red = new Color565( 255, 0, 0, 255 );
auto Color565Array a = new Color565Array( 4, red );

a.Del( 0 );

LibColor565Array.Out2D( a, 4, 3 );

Results

0, 0, 255, 255,
0, 0, 255, 255,
0, 0, 255, 255