11-28-2022, 04:06 PM
Maybe I will add something else from myself.
The MOD is derived from the GW Basic of the 1980s.
QB64 operators are not listed in the list of operators. Treated a bit neglectfully. for decades, no one wanted to modify the operator in terms of universality and correctness of the results. And what the hell, operations on integers are enough, who needs more? Someone will say that it can be replaced with a function and that's it - sure it can, but is it profitable in every situation? If I have an arithmetic sequence in which MOD is contained even three times and other operators, does it make sense to use the function in this situation? What remains is the fragmentation of the pattern has individual elements. It can be compared to writing a book. So as I suggested, you should add a new math operator or modify the old man. Pocket calculator with MOD function can calculate modulo without errors. QB64 seems to be a more serious tool and more demanding. I don't know how much work it takes to add a new math operator, but I think it's worth it. I assume that most of the forum members do not share my opinion - it's hard to survive.
Regards - Chris
The MOD is derived from the GW Basic of the 1980s.
QB64 operators are not listed in the list of operators. Treated a bit neglectfully. for decades, no one wanted to modify the operator in terms of universality and correctness of the results. And what the hell, operations on integers are enough, who needs more? Someone will say that it can be replaced with a function and that's it - sure it can, but is it profitable in every situation? If I have an arithmetic sequence in which MOD is contained even three times and other operators, does it make sense to use the function in this situation? What remains is the fragmentation of the pattern has individual elements. It can be compared to writing a book. So as I suggested, you should add a new math operator or modify the old man. Pocket calculator with MOD function can calculate modulo without errors. QB64 seems to be a more serious tool and more demanding. I don't know how much work it takes to add a new math operator, but I think it's worth it. I assume that most of the forum members do not share my opinion - it's hard to survive.
Regards - Chris