Hello,
using [list length] is a good idea, I also use [list prepend] to prepare a gridflow message for rows number like this:
[trigger l l] | | | [list length] | | | [$1 4 #] | | [list prepend] | [list trim]
The non-integer number I've used only needed 3 figures after the coma, so I've just used [* 1000]-[i] before going into the grid and [/ 1000] at the output,
Yoi patchi
hi again, I forgot one point, sorry,
(I couldn't try it right now because of lots of issues with pd on vista...)
before you have to make a list with one item of each column, with [list split 1] for example, then it's length will give you the number of columns
and then prepend the entire list with the [$1 4 #( message, where $1 is the length, before sorting it.
delivre*
On Wed, 28 Jul 2010, patko wrote:
using [list length] is a good idea, I also use [list prepend] to prepare a gridflow message for rows number like this: | | | [list length] | | | [$1 4 #] | |
you are missing [/ 4] and it is not clear that [$1 4 #] is a messagebox.
I would prefer using «» delimiters for messageboxes, though I often use [( simply because most people do.
If you want it as a float-grid you can write «$1 4 f #» in the messagebox instead. Usually this also means changing several other objects so that they have "f #" in their arguments, but in your case, you don't have to do anything like that.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801