Last Data Member Function

Returns an iterator positioned at the end of the collection.

Prototype

Uint8Iterator Last()

Examples

Copy Text To Clipboard

import library "app_service_console_util.ssl";

auto Color a_oValue = new Color( 255, 128, 64, 255 );

auto Uint8Iterator first = a_oValue.First();
auto Uint8Iterator last = a_oValue.Last();

while( first.Position != last.Position )
{
   Console.Out( first.Value ); // This will be an unsigned byte/uint8.
   ++first.Position;
}

Results

255
128
64
255