Difference between revisions of "Talk:Documentation/BASIC Guide/Loops"
m (→Do...Loop: done.) |
(New section: For...Each) |
||
| 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) | ||
Revision as of 01:40, 13 January 2009
Do...Loop
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:
- remove the use of "variant" in its ordinary sense, since "variant" has a reserved sense within Basic
- 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)
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.--TJ 02:40, 13 January 2009 (CET)