Adding the expression for checking the index

Add an expression to the body of the While true figure and label it index > -1.

Feedback
(C) Copyright IBM Corporation 2005. All Rights Reserved.