r/backtickbot • • Jun 01 '21

https://np.reddit.com/r/visualbasic/comments/npnvrt/art_of_code_pure_function/h07llfo/

It's not swapping, it like i++ in C, it use i then i += 1 later.

B = A.then(B) Mod B

  1. A Mod B

  2. A = B

  3. B = (1.)

It equal to this.

Dim Tmp = B
B = A Mod B
A = Tmp

A doesn't change until B update to new value then A update from previous value of B while swap is swapping value of A and B directly.

1 Upvotes

1 comment sorted by

View all comments

1

u/RJPisscat Jun 01 '21

Your bot is failing miserably and it's rude even if were working.