Post Reply 
Using QUOTE() in a String?
06-01-2021, 12:00 PM
Post: #2
RE: Using QUOTE() in a String?
(06-01-2021 10:26 AM)matalog Wrote:  Is there anyway to get the output of a QUOTE() usable as a string?

I tried

Input(H,"EQ: ");
String(QUOTE(H))(store arrow)Notes("quotenote");

But it results in an input error.

I want to get the expression, unchanged and unevaluated into a string so I can copy it to a note object. That is, the expression that I type in, be it 3*4/5 or SIN(45)*31.

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;
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)