Difference between revisions of "Talk:Documentation/BASIC Guide/Loops"

From Apache OpenOffice Wiki
Jump to: navigation, search
(New section: For...Each)
m (Undo revision 107257 by TJFrazier (Talk)bad test, works fine.)
Line 12: Line 12:
Done. --[[User:TJFrazier|TJ]] 11:30, 15 October 2007 (CEST)
Done. --[[User:TJFrazier|TJ]] 11:30, 15 October 2007 (CEST)
== For...Each ==
When tested, the example as shown executes exactly once, with i = 0. This does not change if values are added to the array.
Some expert inside help is needed, here. There is no OLH documentation on this feature.--[[User:TJFrazier|TJ]] 02:40, 13 January 2009 (CET)

Latest revision as of 10:14, 13 January 2009


Is it just me, or are the descriptions under #3 and #4 reversed? I would change them, but the author took the trouble to bold them, so . . . I am assuming that "satisfied" = "true".--TJ 19:02, 9 October 2007 (CEST)
INTENT TO REWRITE: IMO, only the comment under Example 1) is unambiguously correct. Unless someone objects, I will rewrite the commentaries in this section to:

  1. remove the use of "variant" in its ordinary sense, since "variant" has a reserved sense within Basic
  2. restrict the term "condition" to apply strictly to the Boolean construct "A > 10", rather than the construct "[keyword] condition"

Language will be of the form, "...as long as the condition after the [keyword] evaluates to [true/false]."

I will be back next week to do this. --TJ 11:44, 10 October 2007 (CEST)

Done. --TJ 11:30, 15 October 2007 (CEST)

Personal tools