Home Segments Top Top Previous Next

563: Mainline

To read the element at the front end of a vector, you use the firstElement method:

v.firstElement() 

To access the element at the back end of a vector, you use the lastElement method:

v.lastElement()