Post Reply 
Special HP50G Program for replacing " or other signs
11-16-2019, 09:12 AM
Post: #4
RE: Special HP50G Program for replacing " or other signs
(11-06-2019 08:19 PM)BruceH Wrote:  Use these two programs originally by John H. Meyers.

I like the way this detects whether it's being used on a 48 or a 49/50 with the size of the list sent back by RCLF Smile

If you squish the two programs together and preserve the flags and word size you get something like this:

'INOUT'
Code:
\<< RCWS RCLF \-> ws f
  \<< 3 TRANSIO DUP TYPE 2 IF == THEN
    \->STR f SIZE 3 > #2F34Dh #3016Bh IFTE SYSEVAL + STR\->
    ELSE
    STD 64 STWS \->STR f SIZE 3 > #2F34Fh #2FEC9h IFTE SYSEVAL
    END
    ws STWS f STOF
  \>>
\>>

Place the object to convert on level 1 of the stack and run 'INOUT'. If the object was a string then it'll convert it to an RPL object. If not, then it'll convert it to a string.

There are only 10 types of people in this world. Those who understand binary and those who don't.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Special HP50G Program for replacing " or other signs - grsbanks - 11-16-2019 09:12 AM



User(s) browsing this thread: 1 Guest(s)