In this case I need to gather information how many tasks come due each day. So I separate each day from the list. But how to count how many results there was in the block, save this information to the next block, then do it again and add it to the results?
Code: Select all
block =
(
20 10 2017 ; in this case there will be 5 times 20 10 2017
20 10 2017
14 11 2017
20 10 2017
20 10 2017
24 10 2017
20 10 2017
21 10 2017
21 10 2017 ; 5 times 21 10 207
21 10 2017
21 10 2017
23 10 2017
21 10 2017
23 10 2017
21 10 2017
)
list =
count = 0
loop, parse, block, `n, `r
{
line := A_LoopField
IfNotInString, list, %line%
list .= llbend "count: " count "`n"
}
MsgBox %list%