character messages

Jun 21, 2012 at 7:51pm

character messages

can char variable messages be sent like numerical data and received as char in MAX

#43923
Jun 22, 2012 at 4:17pm

What are you trying to do?

Max doesn’t have a specific datatype ‘char’.

C-style chars are simply integers in the range 0-255; in some programming languages possibly represented as single ASCII chars but in reality no different from other integers (aside from range restrictions). These are typically treated in Max as integers.

In Max you can also have single-character symbols, which are simply ordinary symbols.

Depending on what you’re trying to do, one or the other representation may be what you’re after.

#157635

You must be logged in to reply to this topic.