In attempting to debug my string class setInt() method, I discovered a more core issue - that when I attempt to print the string, I get a printed string equal to the maximum length, rather than the current length. And on top of that, appendChar() is always 3 elements in ("A" and "B" below), rather than the first.
I have been trying to diagnose this issue for a while now, it's driving me crazy, as the implementation of new(), appendChar(), and charAt() seem pretty straightforward. I've attached the code. I appreciate any help!
Main.jack StringDev.jack