Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

loop-endloop Vs do-endo

Former Member
0 Likes
1,018

Hi,

Out of loop-endloop Vs do-endo, which one is better in terms of performance.?

Thanks,

Shivaa

Moderator message - Meaningless question. Which is the better tool - a hammer or a shovel? Post locked

Edited by: Rob Burbank on Apr 23, 2009 3:51 PM

2 REPLIES 2
Read only

former_member156446
Active Contributor
0 Likes
628

you know what you can test it your self

in SE30 tr. > tips and tricks

and write your own code and hit Measure runtime.

Read only

Former Member
0 Likes
628

Hi Shiva,

It depends on your requirement. As both loop-endloop and do-enddo are same in terms of performance.

Loop-endloop can be used only in specific condition where do-enddo can not be used vise versa.

In simple words this 2 things are for 2 different purpose.

Regards

Suvendu