<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta content="MSHTML 6.00.6000.16681" name="GENERATOR">
<style title="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body ocsi="x">
<div dir="ltr"><font face="Tahoma" color="#000000" size="2">Hi</font></div>
<div dir="ltr"><font face="Tahoma" color="#000000" size="2">Julian might correct me but a couple of thoughts...</font></div>
<div dir="ltr"><font face="tahoma" size="2"></font> </div>
<div dir="ltr"><font face="tahoma" size="2">1. when you set the path property of the decision icon it's not {path} just path</font></div>
<div dir="ltr"><font face="tahoma" size="2"></font> </div>
<div dir="ltr"><font face="tahoma" size="2">2. you also need to set the branch property to calculate</font></div>
<div dir="ltr"><font face="tahoma" size="2"></font> </div>
<div dir="ltr"><font face="tahoma" size="2">The pause and erase settings will also make a difference to what you actually see on screen but I'm sure you're aware of that.</font></div>
<div dir="ltr"><font face="tahoma" size="2"></font> </div>
<div dir="ltr"><font face="tahoma" size="2"><font face="tahoma" size="2">HTH</font></font></div>
<div dir="ltr"><font face="tahoma" size="2">Ron</font></div>
<div id="divRpF526933" style="DIRECTION: ltr">
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b> xerte-bounces@lists.nottingham.ac.uk [xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Paul Swanson [Paul.Swanson@harlandfs.com]<br>
<b>Sent:</b> 23 June 2008 18:32<br>
<b>To:</b> xerte@lists.nottingham.ac.uk<br>
<b>Subject:</b> [Xerte] How do you use the Path property of a Decision icon?<br>
</font><br>
</div>
<div></div>
<div>
<p><font face="Verdana" size="2">I'm trying to branch using a Decision icon's path property, and I'm not sure how to go about it. Can the path property take an expression or variable? I'm using a variable determined in a script icon for the path:</font></p>
<p><font face="Courier New" size="2">if (score < 90) {</font> <br>
<font face="Courier New" size="2"> path = 1;</font> <br>
<font face="Courier New" size="2">} else {</font> <br>
<font face="Courier New" size="2"> path = 2;</font> <br>
<font face="Courier New" size="2">}</font> </p>
<p><font face="Verdana" size="2">and entering {path} for the path property of the Decision icon, but I seem to go down the first branch no matter what path equals. What is the correct way to do this?</font></p>
<p><font face="Courier New" color="#808080" size="2">_____________________________</font>
</p>
<p><font face="Courier New" color="#808080" size="2"> Paul Swanson</font> <br>
<font face="Courier New" color="#808080" size="2"> Instructional Designer</font> <br>
<font face="Courier New" color="#808080" size="2"> Harland Financial Solutions</font>
<br>
<font face="Courier New" color="#808080" size="2"> Portland, Oregon, USA</font> <br>
<font face="Courier New" color="#808080" size="2">_____________________________</font>
</p>
<br>
<br>
_____________________________________________________________________<br>
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.verizonbusiness.com/uk<br>
</div>
</body>
</html>