Talk:Comet32
From CometWiki
Badge:
Str() Function - changed operation.
Jim:
The real problem with the str() function is the use of numeric expressions as the argument to the function. The C16 accumulator was implicitly defined as length 16.8. The c32 accumulator may be much larger. It is currently defined as 64.32.
It is consistent to strip leading spaces from the string, otherwise, you would not know the actual result.
That said, we are open to any change like this if everyone wants it. I just think it is short sighted to always want C32 to behave exactly like c16.
We could also only strip the string if the argument were an expression. We could also, treat expressions as arguments to the str function as if the accumulator were 16.8.
Changing from one version of a language to another requires a re-compile. It is really the only opportunity we have to change behavior. I think we should also look at the obsolete fields in fstat() for instance. ,p> The other big change is the unexpected error 1 if a numeric expression overflows the variable it is assigned to.
Length 3.2 & local I
I = 1234
will produce an excp=1.