[Libreoffice-bugs] [Bug 128655] Basic For statement supports "For Each item In array" second syntax that's not documented

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 7 16:44:14 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=128655

--- Comment #1 from LibreOļ¬ƒciant <LibreOfficiant at sfr.fr> ---
tip: 
A For...Next Statement works well when you can associate each iteration of a
loop with a control variable and determine that variable's initial and final
values. However, when you are dealing with a collection, the concept of initial
and final values isn't meaningful, and you don't necessarily know how many
elements the collection has. In this kind of case, a For Each...Next loop is
often a better choice.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191107/230d5ea9/attachment.html>


More information about the Libreoffice-bugs mailing list