Das Notes Forum
Domino 9 und frühere Versionen => ND6: Entwicklung => Thema gestartet von: brathaenchen am 12.09.05 - 14:00:58
-
Hi!
kurze Frage ich geh eine Collection durch mit:
While Not(TempDoc Is Nothing)
Set TempDoc = AllSharedView.GetNextDocument(TempDoc)
...
Wie kann ich das weitere durchlaufen der Schleife verhindern, wenn meine Bedingung eintrifft?
Danke
-
Mit Do While ... Loop:
Do While Not(TempDoc Is Nothing)
Set TempDoc = AllSharedView.GetNextDocument(TempDoc)
...
if bedingung then Exit Do
Loop
Andreas
-
Hier sei auch noch die Schleifen-Doku erwähnt:
AtNotes BestPractices: Schleifen in Lotus Script (http://www.atnotes.de/index.php?topic=13504.0)