Log In  

Here are 3 bugs related to assignment operations:

The result for the operation above should always be <0, but when using rnd"1" this is not the case. Using rnd(1) works as intended.

In this code, the sum of tab[1] and tab[2] should always be 4, but it's not always the case. Using rnd(2) instead of rnd"2" doesn't fix the issue in this case, you have to make a separate assignment for the table index. tab[rnd({1,2})]+=1 doesn't work correctly either.

Here rnd"2" is read as a function, as if the code was just a+=3-rnd. Using rnd(2) fixes it.

P#85858 2020-12-28 15:53 ( Edited 2022-02-02 19:34)

Looks like the 1st and 3rd bugs listed are fixed in 0.2.2c. Only the second one remains.

P#89132 2021-03-17 23:29

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-19 07:31:43 | 0.006s | Q:11