<!DOCTYPE zigzag SYSTEM "zigzag.dtd">
<?xml-stylesheet type="text/xsl" href="zigzag.xsl"?>
<zigzag>
<title>Schedule Demo</title>
<config onlyTurnAtCurrent="false" maxTurns="1"/>
<tour>^M
<step n="1" down="cdr" across="others">
<comment>Each column heading has a function definition linked to it along the 'defn' dimension.</comment>
<doit>Go to each column heading and press 'A' for the answer.</doit>
</step>^M
</tour>
<dimensions>
	<dimension name="cdr" description="cdr" color="blue" />
	<dimension name="others" description="others" color="orange" />
	<dimension name="defn" description="definition" color="yellow" />
	<dimension name="explain" description="explanation" color="red" />
</dimensions>
<cells>
	<cell n="1"><content>sum</content><link direction="cdr" posward="10"/><link direction="others" posward="2"/><link direction="defn" posward="6"/></cell>
	<cell n="2"><content>product</content><link direction="cdr" posward="10"/><link direction="others" posward="3"/><link direction="defn" posward="7"/></cell>
	<cell n="3"><content>count</content><link direction="cdr" posward="10"/><link direction="defn" posward="8"/></cell>
	<cell n="6"><content>accumulate(0,plus,n,'cdr',1)</content></cell>
	<cell n="7"><content>accumulate(1,times,n,'cdr',1)</content></cell>
	<cell n="8"><content>accumulate(0,new Function('a,b','return a+1'),n,'cdr',1)</content></cell>
	<cell n="10"><content>1</content><link direction="cdr" posward="11"/></cell>
	<cell n="11"><content>2</content><link direction="cdr" posward="12"/></cell>
	<cell n="12"><content>3</content><link direction="cdr" posward="13"/></cell>
	<cell n="13"><content>4</content><link direction="cdr" posward="14"/></cell>
	<cell n="14"><content>5</content><link direction="cdr" posward="15"/></cell>
	<cell n="15"><content>6</content></cell>
</cells>
</zigzag>
