I’m trying to pack a string and a number into ONE inlet of a pack.
basically its either a number or the string "off" and I want to pack it into a list with other numbers…
obviously you cant do this with a pack object, since it only accepts either/or, so can someone please head me in the right direction?
You could try converting the number to a symbol with the
[tosymbol] object or you can avoid the packing by playing with the
there are some objects that are often referred to in this context, namely the [zl] family and the [regexp] object. The latter may be a little arcane or unwieldy for this, but I’m not familiar with its use; prepend/append is probably easiest tho. Post a patch or excerpt and you’ll get instant suggestions.
----------begin_max5_patcher---------- 358.3ocwTtraCCBDEcM9qXDRcWZjwuZRW1OhtoIphXvIzZCVFhZRix+dMX6V mWUQQptavh6Lvb8gA14gvKTa3ZL7H7BfP67PHmjU.0NGgKnaRyoZWZ3BtVSW xwiZhY3aLN8Y3LkBHyvPPWL45B0ZSN23VIoUMSIMZwmbmVvX+V4lLMaK4MtA ig4sgJolzUB4xWq3ollngg90qDBilX+P7cyHSG6+8hDLmsTKd69XebuZKoEt RfelWwnRJ7jJm0yxBYmiCrZ687rCitR7H4eTWxSnSIM8cPOnnwsAPRhcLfbd xDMc3HykZbHCGSBHwNzDLN9xcKQS926VzkUBoICzasDArWrt6fp9Wyojl6SI O7aMOg2XyCoGnb6KNWHO9QHm4r5GROsZcUZ2uR2oE7i8XbsQHoFgR1KIqS6k zJAiwcw6nTgfUppQdqIf4m8r7Z8zQk67dJZX8Tz03I6Ck.4F8T8j8deAILuc XA -----------end_max5_patcher-----------
C74 RSS Feed | © Copyright Cycling '74