Loop, erst bei 3 anfangen Topic is solved

Stelle Fragen zur Programmierung mit Autohotkey

Moderator: jNizM

KHA
Posts: 403
Joined: 21 Aug 2018, 11:11

Loop, erst bei 3 anfangen

17 Oct 2018, 12:06

Hallo,
Wie kann ich, die ersten beiden Durchläufe eines Loops ignorieren.
LG

Code: Select all

F3::
str = 
(
Zeile1
Zeile2
Zeile3
Zeile4
)


Loop, parse, str, `n, `r
{
MsgBox, %A_LoopField%
}
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: Loop, erst bei 3 anfangen  Topic is solved

17 Oct 2018, 12:22

Code: Select all

Loop, parse, str, `n, `r
{
if a_index < 3
  continue
  
MsgBox, %A_LoopField%
}
KHA
Posts: 403
Joined: 21 Aug 2018, 11:11

Re: Loop, erst bei 3 anfangen

17 Oct 2018, 13:20

Dankeschön.

Return to “Ich brauche Hilfe”

Who is online

Users browsing this forum: No registered users and 28 guests