PicoMite 6.03.00 betas
Author
Message
toml_12953
Guru
Joined: 13/02/2015
Location: United StatesPosts: 651
Posted: 06:18pm 22 Apr 2026
Bleep said
Hi Peter,
I think I've found a bug.
If I use
'Option Tracecache on 16
Dim Integer maxst=1000:c=42
c=c*(c<=maxst) 'If c>maxst Then c=0
Print c
End
c is printed as 42, if I remove the comment for Option Trace Cache, c is printed as -42? If I set c to 1001, then in both cases c is printed as 0, which is fine.
Kevin.
To be consistent with other conditionals, a true comparison should return 1
? 5 > 2
1
so c=c*(c<=maxst) should set c to 42.
Option Trace Cache should, of course, have nothing to do with the outcome.