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 you wish to delete from the array.

Examples

Copy Text To Clipboard

import library "type_color_array_util.ssl";

auto Color red = new Color( 255, 0, 0, 255 );
auto ColorArray a = new ColorArray( 4, red );

a.Del( 0 );

LibColorArray.Out2D( a, 4, 3 );

Results

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