[PD-dev] [ pure-data-Feature Requests-2942630 ] [until -debug n]

SourceForge.net noreply at sourceforge.net
Sat Jan 30 02:30:11 CET 2010


Feature Requests item #2942630, was opened at 2010-01-29 20:30
Message generated for change (Tracker Item Submitted) made by jancsika1
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478073&aid=2942630&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Jonathan Wilkes (jancsika1)
Assigned to: Nobody/Anonymous (nobody)
Summary: [until -debug n]

Initial Comment:
This would loop like a normal [until] that has received a bang to its left inlet, but at the nth iteration (defined by the user) it stops and outputs a message to the console that says it's reached the nth iteration and might be an infinite loop.  As far as I can tell you can't implement a similar safety patch around [until] without interrupting the main object chain.  This would be better than inserting a [1000( above the [until] object because:
a) you get feedback to the console when it reaches the last iteration
b) when you're done debugging, you don't have to mess with the wires in the main object chain-- you can just remove the "-debug n" part of [until].

It's also better than making a counter because again, you're not fooling with wires in the main object chain.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478073&aid=2942630&group_id=55736




More information about the Pd-dev mailing list