Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loop - hasnext() equivalent function?

Status
Not open for further replies.

TGJ

Programmer
Jan 31, 2005
64
CA
Hello, is there a hasnext() or similar function that will return a true/false value depending on whether there is another iteration left in the loop?
 
TGJ,

I am not familiar with the "hasnext()" function. (Out of curiosity, what engine has that function?) Oracle has various boolean expressions that one can evaluate within loops and cursors.

To choose the best one for your needs, could you please give a "functional narrative" of exactly how "hasnext()" works?...For example, does "hasnext()" have a "true" value in the current loop iteration if it anticipates starting another loop iteration after completing this one?

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services: www.dasages.com]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top