Difference between DO and REPEAT

D.Cook

Member
What's the difference between using a DO statement and a REPEAT statement? They seem to have very similar iteration options, notably:

[ FOR record [ , record ] ... ]
[ variable = expression1 TO expression2 [ BY k ] ]
[ WHILE expression ]
 

veenit

New Member
Repeat associate with many default properties with it like

Framing
Scoping
Transaction

While with Do no such default properties are associate. In case of functional behavior both works on same way, but due to default properties associated with REPEAT use it as less as possible in programming comparing to DO statement.
 
Top