Deletes an item from the array.
int32 Del( int32 p_nIndex )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_nIndex | The index of the item you wish to delete from the array. |
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 );
0, 0, 255, 255,
0, 0, 255, 255,
0, 0, 255, 255