Forums > MaxMSP

Howto add Elements into Text

October 2, 2012 | 1:49 pm

Hi,

i am using an Textbutton as a label to have access to text alignment and so on. What i want to display with it is a Description and a Value followed by a unit. Somehow like this:

(Description) + (Value) + (Unit)
Modulation: 22.4 %

so i need to do this in a message object

text "$1 $2 $3"

because text $1 $2 $3 does not work. the textbutton does only display the first element ($1)

if i take the "" – Version … It does not react ..

Help!


October 2, 2012 | 2:11 pm

combine or sprintf should help you to concatenate your 3 values into a single symbol.

p


Viewing 2 posts - 1 through 2 (of 2 total)