Post Reply 
HP 50g Compare Strings?
09-01-2014, 12:09 PM
Post: #2
RE: HP 50g Compare Strings?
(09-01-2014 12:03 PM)toml_12953 Wrote:  How do you compare the contents of a variable to a string in algebraic notation on an HP 50g? I've tried both the following ('a' contains either "Y" or "N")

Code:

IF ' 'a' == "Y" ' THEN
IF 'a == "Y" ' THEN

Of course neither one works. So how do you do it?

Suggestion: Don't use an algebraic. Just use IF a "Y" SAME THEN.

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 50g Compare Strings? - toml_12953 - 09-01-2014, 12:03 PM
RE: HP 50g Compare Strings? - Joe Horn - 09-01-2014 12:09 PM
RE: HP 50g Compare Strings? - toml_12953 - 09-01-2014, 01:25 PM
RE: HP 50g Compare Strings? - Joe Horn - 09-01-2014, 10:24 PM
RE: HP 50g Compare Strings? - rprosperi - 09-02-2014, 03:07 AM
RE: HP 50g Compare Strings? - toml_12953 - 09-04-2014, 06:35 AM



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