Question about meanings of lowercase letters in path mapper

Hi, I’m recently working on the path mapper component and I was wondering what this approach can produce the result: {A;B}(i) to {b;i}(a)

Also, can anyone help explain the difference in meanings of using lowercase letters and capital letters?
Thanks!

The path mapper uses regular grasshopper expressions, which means it’s case-insensitive. That is, the casing doesn’t matter. It’s typical to use the lower case i to indicate the indexing integer, and I usually pick upper case variables for the path elements just to distinguish the two.

Hi David, Thanks for the tips! However, I have another question: so is there any specific result that the formatting of lowercase b and a would produce in this situation?

Since the pattern on the left is different from the one on the right, there will be a specific result. But that result won’t change if you change the casing.

This: \{A;B\}(i) \rightarrow \{b;i\}(a) will yield the exact same result as: \{A;B\}(i) \rightarrow \{B;i\}(A).