[Gridflow-dev] Conditional and Loop Structures

Mathieu Bouchard matju at artengine.ca
Tue Mar 6 13:29:56 EST 2007

On Tue, 6 Mar 2007, Emir Mahmut BAHSI wrote:

>  1) In conditional branching; can we create a simple if structure 
> similar to the attached one?

GridFlow is meant to be used within PureData. PureData provides [select] 
[route] [moses] [spigot] and such. GridFlow adds [shunt], which is already 
called by other names ([gate] and [demux]) by other extensions to 
PureData, and also adds [range].

>  2) Can we create loop structure (like for and while structure in C and Java)

PureData has [until] and has clock-driven [metro]. PureData also supports 
recursion to some extent. GridFlow extends this with [for] and [foreach] 
but also (and most importantly) uses multi-dimensional arrays as driving 
implicit multiple nested for-loops, as in the APL language, and this is 
what makes GridFlow programs so concise.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada

More information about the Gridflow-dev mailing list