[Kst] if then else in equations?

Brisset, Nicolas Nicolas.Brisset at eurocopter.com
Thu Sep 20 14:45:01 UTC 2012


Hi,

one stupid little question: is there a possibility to use an if / then / else construct in equations?
I'd like to do something like if ([Vector1 (V1)] > 180) then [Vector1 (V1)]-360 else [Vector1 (V1)]

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.

Nicolas

EUROCOPTER DEUTSCHLAND GmbH
Sitz der Gesellschaft / Registered Office: Donauw?rth
Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board: Dr. Lutz Bertling
Gesch?ftsf?hrung / Board of Management:
Dr. Wolfgang Schoder, Vorsitzender / CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt


CONFIDENTIALITY NOTICE

This communication and the information it contains is intended for the addressee ( s ) named above and for no other persons or organizations.
It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication
or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication.
Thank you very much.
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
or other material which might be introduced with this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kst/attachments/20120920/3efbbf5f/attachment.html>


More information about the Kst mailing list