Skip to content

Accumulating values from a sub-program in a loop #215

Answered by jelling
jelling asked this question in Q&A
Discussion options

You must be logged in to vote

Figured it out. What I was missing is that when a sub-program access the current item in the each (using this), it can also modify that item. Can't decide if I absorbed too much FP or was just being dumb.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jelling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant