Logical time wouldn't work for that, as two objects in the same patch are created at teh same logical time. I'd suggest code like:
{ static int initted = 0; if (!initted) { .. this code only runs once .. initted = 1; } }
cheers M
On Fri, May 19, 2006 at 11:37:45AM +0200, Hans-Christoph Steiner wrote:
I want to get the logical time so I can make the first instance of the object execute something while the rest do not execute.
Any suggestions as how to do this?
.hc
If you are not part of the solution, you are part of the problem. - Eldridge Cleaver
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev