HP 48GX Indefinite Loops
|
04-03-2022, 10:58 AM
Post: #12
|
|||
|
|||
RE: HP 48GX Indefinite Loops
(04-03-2022 01:59 AM)MNH Wrote: Thanks for your effort! I ran your code and didn't get the expected results. As Thomas has indicated, there's very likely at least one typo in your transcription. In particular, there should be a space between the "→" and the "d". I should have included the size/checksum for verification so that you'd be able to compare it. I'll include that now: Size: 115 bytes Checksum: #1A7Bh You can avoid typos for something like this if you use a program that can translate a string using "trigraphs" into a compiled program. That way you can just copy and paste the program straight from the post into your emulated 48GX, translate it, and then store the result into a global variable of your choosing. No typing of the program required! One such program can be found in this post (usually referred to as INOUT). That program also converts a compiled program object that's on the stack into a string, with all special characters replaced by their trigraph equivalents. You can think of it as toggling what's in stack level 1 between text and compiled program forms. That should allow you to get the program entered into your emulated 48GX successfully for testing. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)