waldenner / robotframework

Automatically exported from code.google.com/p/robotframework
Apache License 2.0
0 stars 0 forks source link

The loop statement is expected to offer 'break' and 'continue' keywords. #543

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For an automation instance, a column of the table is traversed cyclically 
until the target cell is found and the row where this cell resides is told.

for example:
There is a table:
name  total capacity  used capacity
test1   1             1
test2   2             1
test3   3             2

After a name is entered, the row where the name resides can be found and the 
used capacity is found correspondingly by the row.

Original issue reported on code.google.com by genglz1...@163.com on 29 Apr 2010 at 7:34

GoogleCodeExporter commented 9 years ago
There's already issue 502 about `break` which also explains an ugly workaround 
for it. 

`continue` can be simulated using `Run Keyword If` so that the keyword is not
executed when you need to continue. This workaround is relatively clean and 
special
`Continue` keyword won't be added.

Original comment by pekka.klarck on 29 Apr 2010 at 10:47