Operating System: MacOS Ventura 13.3.1 (a)
CEmu version: CEmu v2.0dev (git: 851a59e)
Describe your issue:
Any variable that starts with the letter r shows up as Ans in the Variable Viewer.
What are the steps to reproduce this issue?
Send variable (AppVar) with a name that starts with r to the calculator
Open the Variable Viewer
Any logs, error output, screenshot, other comments...?
What's wrong, and with what software version?
Operating System: MacOS Ventura 13.3.1 (a) CEmu version: CEmu v2.0dev (git: 851a59e) Describe your issue:
Any variable that starts with the letter
r
shows up asAns
in the Variable Viewer.What are the steps to reproduce this issue?
r
to the calculatorAny logs, error output, screenshot, other comments...?
This is because
Ans
(token 072h) andr
(font character 072h) are the same, so when generating the file name it checks the first character andAns
takes precedence. https://github.com/CE-Programming/CEmu/blob/badbf3c0cbc377115977eb4a4c3f0c619849649c/core/vat.c#L176-L180