[PD] selfresetting counter

Ian Smith-Heisters heisters at 0x09.com
Tue Nov 2 19:20:36 CET 2004


Have a look in the control examples help under more_counters. Basically 
all you do is run the output of a counter to a sel object that outputs a 
bang every time it gets a certain number. Send the bang to a 0 message, 
which will send the 0 to your float atom.
-Ian

Martin Stepanek wrote:

>
> hi list,
>
> i-m struggling with the basics. in the attached patch i tried to 
> implement a counter that resets itself to 0 if it gets past 3. think 
> i-m stumbling over the depth-first-principle of pd. can someone help 
> out? What is happening (shouldn-t my implementation lead to a stack 
> overflow) and what-s the right way of doing this?
>
> thanks,
>   martin (pd-newbie)
>
>------------------------------------------------------------------------
>
><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
><html>
><head>
>  <meta content="text/html; charset=ISO-8859-1"
> http-equiv="content-type">
>  <title>Literatur- und Internetquellen zum Thema "Jugend und
>Parlamentarismus in &Ouml;sterreich"</title>
></head>
><body>
><h1><span style="font-weight: bold;">Literatur- und Internetquellen zum
>Thema "Jugend und Parlamentarismus in &Ouml;sterreich"</span></h1>
><h2>A. Internetquellen:<br>
></h2>
><h2>1. Geschichte des &ouml;sterreichischen Parlamentarismus</h2>
><h3>1.1. Geschichte der &ouml;sterreichischen Demokratie </h3>
><br>
><a
> href="http://www.parlament.gv.at/portal/page?_pageid=606,77716&amp;_dad=portal&amp;_schema=PORTAL&amp;P_TEXT=1&amp;P_MEHR=J#mehr">Verfassungsentw&uuml;rfe
>1848-1860</a> (Parlamentshomepage)<br>
><a
> href="http://www.parlament.gv.at/portal/page?_pageid=606,77753&amp;_dad=portal&amp;_schema=PORTAL&amp;P_TEXT=1&amp;P_MEHR=J#mehr">Februarpatent,
>Doppelmonarchie und Verfassungsstaat</a> (Parlamentshomepage)<br>
><a
> href="http://www.parlament.gv.at/portal/page?_pageid=606,77802&amp;_dad=portal&amp;_schema=PORTAL&amp;P_TEXT=1&amp;P_MEHR=J#mehr"><span
> lang="DE-AT">Die Wahlrechtsentwicklung
>bis zum republikanischen Parlament</span></a><br>
>(Parlamentshomepage)<br>
><a
> href="http://www.parlament.gv.at/portal/page?_pageid=606,77607&amp;_dad=portal&amp;_schema=PORTAL&amp;P_TEXT=1&amp;P_MEHR=J#mehr"><span
> lang="DE-AT">Das &ouml;sterreichische Parlament zwischen den beiden
>Weltkriegen</span></a><br>
>(Parlamentshomepage)<br>
><a
> href="http://www.parlament.gv.at/portal/page?_pageid=606,77691&amp;_dad=portal&amp;_schema=PORTAL&amp;P_TEXT=1&amp;P_MEHR=J#mehr"><span
> lang="DE-AT">Die Zweite Republik</span></a> (Parlamentshomepage)<br>
><a
> href="http://www.parlament.gv.at/portal/page?_pageid=606,77607&amp;_dad=portal&amp;_schema=PORTAL&amp;P_TEXT=1&amp;P_MEHR=J#mehr"><span
> lang="DE-AT"></span></a><br>
><h3><a
> href="http://www.parlament.gv.at/portal/page?_pageid=606,77802&amp;_dad=portal&amp;_schema=PORTAL&amp;P_TEXT=1&amp;P_MEHR=J#mehr"><span
> lang="DE-AT"></span></a>1.2. Geschichte des Parlamentsgeb&auml;udes: </h3>
>&nbsp;&nbsp;&nbsp; Wer gebaut, Welche Funktion, Entwicklung seit der
>Monarchie<br>
><br>
><h3>1.3. Geschichte des &ouml;sterreichischen Wahlrechts:</h3>
>&nbsp;&nbsp;&nbsp; <a
> href="http://www.parlament.gv.at/portal/page?_pageid=606,78348&amp;_dad=portal&amp;_schema=PORTAL&amp;P_TEXT=1&amp;P_MEHR=J#mehr">Entwicklung
>des Wahlrechts</a> (Parlamentshomepage), Was ist eine Wahl,
>Legislative/Exekutive (<a
> href="http://www.parlament.gv.at/portal/page?_pageid=606,77927&amp;_dad=portal&amp;_schema=PORTAL&amp;P_TEXT=1&amp;P_MEHR=J#mehr">Parlament
>und Regierung</a> aus Sicht der Parlamentshomepage), Wer w&auml;hlt
>wen?
>Warum?<br>
><br>
><h3>1.4. Geschichte des &ouml;sterreichischen Parteienssystems<span>
>(generell)</span>
></h3>
><span lang="DE-AT"><a
> href="http://www.parlament.gv.at/portal/page?_pageid=606,77688&amp;_dad=portal&amp;_schema=PORTAL&amp;P_TEXT=1&amp;P_MEHR=J#mehr">Die
>historische
>Entwicklung der parlamentarischen Klubs</a> (Parlamentshomepage)</span><br>
><span lang="DE-AT"></span><br>
><h2>2. Parlamentarische Begriffe</h2>
>2.0. <a
> href="http://www.parlament.gv.at/portal/page?_pageid=606,77948&amp;_dad=portal&amp;_schema=PORTAL&amp;P_TEXT=1&amp;P_MEHR=J#mehr">Parlamentarismus</a>
>(Parlamentshomepage)<br>
>2.1. Ausschuss:<br>
>&nbsp;&nbsp;&nbsp; <a
> href="http://www.parlament.gv.at/portal/page?_pageid=888,81333&amp;_dad=portal&amp;_schema=PORTALeid=888,81333&amp;_dad=portal&amp;_schema=PORTAL">Aussch&uuml;sse
>des NR - Aufgaben und gesetzliche Grundlagen</a> (Parlamentshomepage)<br>
>2.2. Plenartag:<br>
>&nbsp;&nbsp;&nbsp; <span lang="DE-CH"><a
> href="http://www.parlament.gv.at/portal/page?_pageid=888,81377&amp;_dad=portal&amp;_schema=PORTAL">Plenarsitzungen
>des
>Nationalrates - Aufgaben und gesetzliche Grundlagen</a></span>
>(Parmlamentshompage)<br>
>2.3. Gesetz:<br>
>&nbsp;&nbsp;&nbsp; a) Definiton:<br>
>&nbsp;&nbsp;&nbsp; b) Prozess:<br>
>&nbsp;&nbsp;&nbsp; <span lang="DE-AT">&nbsp;&nbsp;&nbsp; <a
> href="http://www.parlament.gv.at/portal/page?_pageid=606,77828&amp;_dad=portal&amp;_schema=PORTAL&amp;P_TEXT=1&amp;P_MEHR=J#mehr">Der
>Weg der
>Bundesgesetzgebung</a></span><br>
><br>
>2.4. Abgeordneter:<br>
>&nbsp;&nbsp;&nbsp; <a
> href="http://www.parlament.gv.at/portal/page?_pageid=888,81324&amp;_dad=portal&amp;_schema=PORTAL">Abgeordnete
>zum Nationalrat - Aufgaben und gesetzliche Grundlagen</a>
><h2><br>
></h2>
><h2>3. "Demokratie erleben" - Politische Beteiligungsm&ouml;glichkeiten
>von Jugendlichen</h2>
>3.1. Wie kann ein Jugendlicher einflussreich werden?<br>
>3.2. Kinderrechtscharta<br>
>3.3. Projekte<br>
>3.4. Gemeindeebene<br>
><br>
><h2>4. Exkurs: &Ouml;sterreichischer Parlamentarismus und Europa</h2>
><h3>4.1. Entwicklung des europ&auml;ischen Parlaments</h3>
><h3>4.2. Mitbestimmungsm&ouml;glichkeiten der einzelnen L&auml;nder
>(&Ouml;sterreichs?)</h3>
><a
> href="http://www.parlament.gv.at/portal/page?_pageid=1011,139451&amp;_dad=portal&amp;_schema=PORTAL">Allgemeine
>Information der Parlamentshomepage</a> zum Thema "Parlament und
>Europ&auml;ische Union";<br>
><a
> href="http://www.parlament.gv.at/portal/page?_pageid=1011,147335&amp;_dad=portal&amp;_schema=PORTAL">EU-Hauptausschuss
>des NR</a><br>
>(Parlamentshomepage)<br>
>&nbsp;&nbsp;&nbsp; <a
> href="http://www.parlament.gv.at/portal/page?_pageid=1011,147696&amp;_dad=portal&amp;_schema=PORTAL">Unterausschuss
>des Hauptausschusses des NR</a><br>
>(Parlamentshomepage)<br>
><a
> href="http://www.parlament.gv.at/portal/page?_pageid=1011,149043&amp;_dad=portal&amp;_schema=PORTAL">Kontakte
>&ouml;.P. - E.P. (Konferenzen)</a> (Parlamentshomepage):&nbsp; <a
> href="http://www.parlament.gv.at/portal/page?_pageid=889,79315&amp;_dad=portal&amp;_schema=PORTAL">COSAC</a>
>(Parlamentshomepage)<br>
><br>
><h2>B. Literaturquellen:</h2>
><a
> href="http://www.parlament.gv.at/portal/page?_pageid=606,77604&amp;_dad=portal&amp;_schema=PORTAL">Auswahlbibliographie</a>
>der Parlamentshomepage:<br>
><p><span lang="DE-AT"> ( enth&auml;lt folgende Themenbereiche:<br>
>Politisches System &Ouml;sterreichs <br>
>Parlamentarismus in &Ouml;sterreich<br>
>Nationalrat<br>
>Bundesrat<br>
>Gesch&auml;ftsordnung<br>
>Parlament und Europ&auml;ische
>Union<br>
>Frauen und Parlament<br>
>Parlamentsverwaltung</span> )<br>
></p>
><br>
><br>
><p> <a href="http://validator.w3.org/check?uri=referer"><img border="0"
> src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"
> height="31" width="88"></a> </p>
></body>
></html>
>  
>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: looping_counter.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20041102/78f759d5/attachment.asc>


More information about the Pd-list mailing list