any way to use a single backslash in a message?
simple, but why so hard. i can’t get messages to pass a single escaped backslash:
----------begin_max5_patcher---------- 483.3ocyUF0aaBCDG+Y3SwI+LKJPZZIUSqZe.1mfQ0jAeM3EicD9PIYU869L 1PaxZenCkpTdvV9+cbb2O7Y+XbDqzrGsL3V3mPTziwQQdodgng0QrF99JE25 ciUYZZPMwRB1HbOEzUxpM.UiV71QiOXzjl2fdG9dqjqFsrkSU0R85e0hUT3y eyxYySfEy6GSW5mxbiv8GELq7O9fkl4LGj0cMRsBIe1k9hnoiFUGcUJ7Iho7 2eI8ZVu1Sww8CIuyZuAsV9Z7U0tz5Jb2v2fB2C7UvZZPXiTK3PY256fev2CK mkNKeRjYwoPIageU9+IaxdS1LRrfDcXKF9lL1yA+Xrc04Da6LsarvCFkxrCE fzswRH4DpN.kG.t9.Xb6mZAzVw2hPUMu0C3hhjg4B1j.Z1MAfl4mVjs5xAzr yIPEltREZgdvNRnhIQnzU9twUd.sJ+hwm7Ol1zW2hNMJsLzPFN4J+x0WdVaK KMDYZfAyfs1zoD.pEvNIUCk7pMVWPpgV45Z5NPaHWSbq6EfoueatmgWGZHu5 xQxS5G8NvTR8+dEouB50OEuVSWa0X3GNuLAdoHDnkjZNIM5ibp2mzm8oVJDn 93qsZjhsFolFxA3927e86Nkx9zkR4e5xnOZF4V7T7ewrFLTD -----------end_max5_patcher-----------
i did a search first.
that post doesn’t answer my question.
please take a look at the patch. is this a bug in this max version, or can nobody get a single backslash to pass from one message to the next?
This won’t probably help you:
----------begin_max5_patcher---------- 399.3ocwT9sSCBCEF+Z3onowKmHPAFyXz3Cf25MlESGsxpBsKzRDcYu6RKr4 1jrv9SvaNmb9Nm190eP5RaK3LQEUBA2BdAXYsz1xxHoErZqsf43pjLrzLFjS +TL6c3nlVJZkxHmIvjYXd55F7xbQoJipLqxqU8MAWIYeSMZ9NtsxMSp9ZAsw IPyNAl11dAVkLmwSesflnZlvOxsd0fHjIFoi9dNtaVBiXbUsSuNBt0gyw4ly .9Lsff43srKiuwsZsU115vnyCKLk.eYPBiq5CQ7BFqSAGDIgGMRPm.RxoRIN k9GlDL9xPjdgC2XcB46DVWLoabfNZb3eAwASBTyqC2CtxCbGPJxofOXbBFLq L8AvS3JPnimS7.BsXSx2eRSU2TyKnSr8XACmMfP6l+Yl4E1vJSBEiNDxNGhY 1OXFiu+y0FOo02EiRQYQx5aP66ffecEgJULNVwD7slAsyLyYDB0zdMZxYjEh 5WhZs.XZmeR6qiB6giz+kMfVB0CKENnNZO.zskzy3chVptXk8OPDyvcR -----------end_max5_patcher-----------
wow, nice. that’s a hack and a half. just what it takes sometimes in these crusty caveman ages…
That’s for a forward slash, still don’t work for backslash (key 92)
Just to check, you do realise that if you print those messages it is actually working how you would expect. So the issue you’re having is specifically about sending a message to another message object as opposed to a different max object. Can you be more specific about what you are trying to achieve?
"Just to check, you do realise that if you print those messages it is actually working how you would expect. So the issue you’re having is specifically about sending a message to another message object as opposed to a different max object."
Yep – I’ve always found this confusing. I’m not totally sure I understand the need for the special max characters – I’m sure they are needed, but I dunno why exactly :-/
yeah, it’s only from message to message that doesn’t work like expected. i have a project with a lot of regular expressions and parsing, so those backslashes come into play everywhere. it’s figured out and working, although this message-to-message would have been the easiest way.
Although I too often use message objects as some kind of container (for example while tied to a receive object; makes keeping a global value very easy as well as debugging the patch) there are also some disadvantages; besides what you describe here.
When it comes to storage I think messages will do fine, but when you need to manipulate lists or texts on a lower level I try to avoid them, unless being really sure up front that they won’t cause any side effects.
This is one example; another emerges when ""‘s come into play. Those are often used by Max whenever text which contains spaces is sent out, and these behave differently with message objects as well.
Forums > MaxMSP