0 votes

Is there a way to loop within a collection? For example, I want to compare each item to another item in the collection. If the collection has 10 items, there should be 45 comparisons.

>>P1_Col = [P1_1,P1_2,P1_3,P1_4,P1_5,P1_6,P1_7,P1_8,P1_9,P1_10]
*if: P1_1 = P1_2
>>P1_Score = P1_Score + 1

by

1 Answer

0 votes

Hey Andy,

It looks a bit scary but this is achievable with couple of *while loops, check out https://www.guidedtrack.com/programs/14786/edit

by (5.8k points)
edited by
Welcome to Guidedtrack Q&A, where you can ask questions and receive answers from other members of the community.
134 questions
144 answers
55 comments
40 users