XML Feeds

.

[maxmsp] $11 $12 $13

Peter McCulloch peter.mcculloch at gmail.com
Thu Jun 21 17:28:46 MDT 2007


Check out sprintf.  While it won't do the re-ording that message box 
will (e.g. $1 $3 $2 $4) it's definitely the way to go.

For example:

100 10 3 into

sprintf %d ants sat on %d logs waiting for %d cyclical remarks on the 
Max Forum
gives
100 ants sat on 10 logs waiting for 3 cyclical remarks on the Max Forum

Quick sheet on sprintf:
%d	 int
%f 	float
%s	symbol
%c	char (from ascii num)
Also, you'll need to use \ as an escape character for commas, etc.

Peter McCulloch



On Jun 21, 2007, at 5:49 PM, Roman Thilenius wrote:

>
>
> uh, once more: a "limit" problem.
>
>
> i would like to make messageboxes containing variables from $1 to $32.
>
> of course max recognizes "\$11" and up only as symbols. *cries*
>
> what do you do in this situation? splitting the stuff up using zl 
> objects or stacking series of [pak] is too much work in my case.
>
>
> -110
> --
> http://vst-mac.info/
> _______________________________________________
> maxmsp mailing list
> maxmsp at cycling74.com
> http://www.cycling74.com/mailman/listinfo/maxmsp
>
>
www.petermcculloch.com



More information about the maxmsp mailing list