Which returned
4294967295
4
CalcX=255
LongX=294967295
So it looks like SysCalcTempX is type byte.
SysLongTempX is returning the correct answer for the remainder, but since it isn't documented, I fear future changes in the compiler might cause a problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
SysLongTempX is not documented in the help, but by scrounging around I found I could use it.
SysCalcTempX doesn't return a long remainder.
I tested it with-
Which returned
4294967295
4
CalcX=255
LongX=294967295
So it looks like SysCalcTempX is type byte.
SysLongTempX is returning the correct answer for the remainder, but since it isn't documented, I fear future changes in the compiler might cause a problem.
It is safe. Not going to be changing this.
SysCalcTempX is documented see 'Setting Variables' in the Help.
I am not sure about SysLongTempX, if you have tested and you think it is valid - it is safe. We would be changing that.