Exactly. That part is a comment. The actual working code is these three lines:
,>,[<->>+<-]+<[ A!=B >->>]>[ A==B ->>>]<<[<<+>+>-]
and then to explain what it was doing I added comments which are a map of the memory, so for instance when I wrote
,>,[<->>+<-]a-b 0 b 0 0
I meant that after this line of code is done executing, the first cell has (A minus , the second cell has a zero, the third cell has B, and the fourth and fifth cells have zeroes.
Then, to prevent the "-" in the comments from being executed as a brain**** command, I put the comments in loops that would never be executed, because the cell was known to be zero. Maybe I should have explained that to begin with?
-Daniel.