Adding/Editing Programs for the HP50G
|
08-29-2020, 03:55 AM
(This post was last modified: 08-29-2020 01:27 PM by Joe Horn.)
Post: #10
|
|||
|
|||
RE: Adding/Editing Programs for the HP50G
(08-29-2020 03:31 AM)MattGreer Wrote: Either I'm misunderstanding you, or you are confusing binary with ASCII files. When a "file" from an HP calculator begins with "%%", like in your original post, then it's the ASCII source code which can be parsed by the 50g's edit line (as detailed above). But when the file begins with "HPHP", like in your previous post, then it's the already-compiled binary form, which CANNOT be edited via the edit line of the 50g. I do not understand why you are saving a 50g program to the SD card (in binary form of course), then recalling it as a string on the 50g. Why would you want to do that? (If I'm misunderstanding you, please be patient with me.... I'm really trying to help here). Exporting a 48 program in ASCII mode, then importing it to the 50g does make sense, but the instructions for that were already detailed above. Greek letters and other special characters are automatically converted to "trigraphs" such as \<< and \>> for the program delimiters, and \Ge for Greek epsilon. If they are not getting translated that way, execute 3 TRANSIO and try again. EDIT: I forgot to mention how to translate those trigraphs back into their HP 50g special character equivalents. With the string on level 1 of the stack, execute 3 TRANSIO #2F34Dh SYSEVAL DROP. For example, this converts "\pi" to "π". Then you can do OBJ→ on the string if it contains no syntax errors, or follow the more complicated instructions above if it does contain syntax errors. <0|ɸ|0> -Joe- |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)