simple math problem (add)

Mar 22, 2010 at 2:46pm

simple math problem (add)

hi..
i need help on addition
lets say i have a numbox with value 0

i now want to add 12 with a button press so the numbox says 12.. and then when i press the button again it should add 12 to 12 so the numbox says 24 then 36 and so on…

thank you very much

#49282
Mar 22, 2010 at 2:52pm

You’ll need exactly 1 object, in addition to the button, ‘+’ and number box objects. Hint: its name can be abbreviated to a single letter…

Jeremy

#177069
Mar 22, 2010 at 3:13pm

i? f?

i still cant get the connection right
i think ill just use a umenu now^^

#177070
Mar 22, 2010 at 3:15pm

This better not be homework.

Jeremy

– Pasted Max Patch, click to expand. –
#177071
Mar 22, 2010 at 3:15pm

try this

– Pasted Max Patch, click to expand. –

Brendan

#177072
Mar 22, 2010 at 3:25pm

thank you guys.

no its not homework^^

it will be a midi octave shifter for my launchpad

#177073
Mar 22, 2010 at 7:37pm

i dont know what others have suggested, but how about [incdec]

#177074

You must be logged in to reply to this topic.