Post Reply 
Using QUOTE() in a String?
06-01-2021, 04:04 PM
Post: #4
RE: Using QUOTE() in a String?
(06-01-2021 12:47 PM)matalog Wrote:  
(06-01-2021 12:00 PM)Stevetuc Wrote:  I'm not sure QUOTE is the right command to use here and the Var H is typed as Real.
The following will input h as a string then save contents of h into a note.The type [2] forces h to be treated as a string.
Code:

EXPORT QQ()
BEGIN
LOCAL h;
Input({{h,[2]}},"EQ: ");
hâ–¶Notes("quotenote");
END;


Thanks, yes that works to get the string out.

I was also planning to to have the Quote() because I planned to also EVAL() it afterwards, and therfore find the answer to the expression, while also having the expression that has been answered.

Can you think of a way of having both of those? Or to turn a string into an evaluatable thing?

Try adding the line EXPR(h) before the END statement
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Using QUOTE() in a String? - matalog - 06-01-2021, 10:26 AM
RE: Using QUOTE() in a String? - Stevetuc - 06-01-2021, 12:00 PM
RE: Using QUOTE() in a String? - matalog - 06-01-2021, 12:47 PM
RE: Using QUOTE() in a String? - Stevetuc - 06-01-2021 04:04 PM



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