I am having a problem setting the text content of message boxes using the set and message methods.
If I use: myMessageBox.set("mod");
I get a message box that has three letters in it (mod) with no quotations.
But if I try: myMessageBox.set("mod 10");
I get the quotations in the message box as well, and it seems that whenever I try to add a space within quotations I get a set of quotations at the beginning and end of the message box text.
So using: myMessageBox.set("mod10");
This will not have the quotations in the message object.
I have even tried things like: myMessageBox.set("mod" + " " +10); but even this has one set of quotations at the beginning and end of the message object. Even the number 10 will be included in the quotations
I have also had the same problem using the message method to send a "set" message to the object.
So how can I go about creating a message object that has exactly the text I want without the quotations?
I think that something like the following should work. If you send the object one item it will be interpreted as a single symbol, not as a list (or a message with arguments), you need to use commas to form an array. There’s an important difference between
mod 10 and
"mod 10" in a message box, use [zl len] for a demonstration.
Thank you, it was as simple as changing the plus sign to a comma instead.
C74 RSS Feed | © Copyright Cycling '74