([V1]>180)*([(V1)]-360) + ([V1]<=180)*[(V1)]<br><br><br><div class="gmail_quote">On Thu, Sep 20, 2012 at 10:45 AM, Brisset, Nicolas <span dir="ltr"><<a href="mailto:Nicolas.Brisset@eurocopter.com" target="_blank">Nicolas.Brisset@eurocopter.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="DE" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-US">one stupid little question: is there a possibility to use an if / then / else construct in equations?</span></p>
<p class="MsoNormal"><span lang="EN-US">I’d like to do something like if ([Vector1 (V1)] > 180) then [Vector1 (V1)]-360 else [Vector1 (V1)]</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks for any hints. If there’s no way to do that, we should consider adding it to the parser. No idea how difficult that would be though.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Nicolas</span></p>
<p class="MsoNormal"> </p>
</div>
<table border="0" width="38%" style="border-collapse:collapse">
<tbody>
<tr>
<td width="468" height="8"><b><font face="Arial" size="1">EUROCOPTER DEUTSCHLAND GmbH</font></b></td>
</tr>
<tr>
<td width="468" height="8"><b><font face="Arial" size="1">Sitz der Gesellschaft / Registered Office: Donauwörth</font></b></td>
</tr>
<tr>
<td width="468" height="8"><b><font face="Arial" size="1">Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508</font></b></td>
</tr>
<tr>
<td width="468" height="8"><b><font face="Arial" size="1">Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board: Dr. Lutz Bertling</font></b></td>
</tr>
<tr>
<td width="468" height="8"><b><font face="Arial" size="1">Geschäftsführung / Board of Management:</font></b></td>
</tr>
<tr>
<td width="468" height="8"><b><font face="Arial" size="1">Dr. Wolfgang Schoder, Vorsitzender / CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt</font></b></td>
</tr>
<tr>
<td width="468" height="8" style="border-bottom-style:double;border-bottom-width:3px">
<font face="Arial" size="1"> </font></td>
</tr>
</tbody>
</table>
<table border="0" width="688" height="8" style="border-collapse:collapse">
<tbody>
<tr>
<td width="686" height="8"><font face="Arial" size="1"> </font></td>
</tr>
<tr>
<td width="686" height="8"><font face="Arial" size="1">CONFIDENTIALITY NOTICE</font></td>
</tr>
<tr>
<td width="686" height="8"><font face="Arial" size="1"> </font></td>
</tr>
<tr>
<td width="686" height="8"><font face="Arial" size="1">This communication and the information it contains is intended for the addressee ( s ) named above and for no other persons or organizations. </font></td>
</tr>
<tr>
<td width="686" height="8"><font face="Arial" size="1">It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication </font></td>
</tr>
<tr>
<td width="686" height="8"><font face="Arial" size="1">or any part of it is prohibited and may be unlawful. </font></td>
</tr>
<tr>
<td width="686" height="8"><font face="Arial" size="1">If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. </font></td>
</tr>
<tr>
<td width="686" height="8"><font face="Arial" size="1">Thank you very much.</font></td>
</tr>
<tr>
<td width="686" height="8"><font face="Arial" size="1">It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses </font></td>
</tr>
<tr>
<td width="686" height="8"><font face="Arial" size="1">or other material which might be introduced with this message.</font></td>
</tr>
</tbody>
</table>
</div>
<br>_______________________________________________<br>
Kst mailing list<br>
<a href="mailto:Kst@kde.org">Kst@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kst" target="_blank">https://mail.kde.org/mailman/listinfo/kst</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;color:rgb(136,136,136)">C. Barth Netterfield<br>University of Toronto<br>
416-845-0946</span><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;color:rgb(136,136,136)"><br></span></div><br>