Difference between revisions of "Kray3 SDK/Logic operations"

From Kray
Jump to: navigation, search
m
 
Line 1: Line 1:
 +
{{Languages}}
 +
[[Category:Kray3 SDK]]
 
== Logic operators ==
 
== Logic operators ==
 
And (&) Or (|), Not (!) logic operators can be used on doubles.
 
And (&) Or (|), Not (!) logic operators can be used on doubles.

Latest revision as of 16:02, 17 August 2012

Language ›

Logic operators

And (&) Or (|), Not (!) logic operators can be used on doubles.

<include highlight="kray3" src="/pub/kray3_script/operators/operators10.kray"></include>{{#ifeq: 1|1|

Run in KrayLive|}}

Comparision

You can use comparision operators < > <= >= on doubles, strings.

<include highlight="kray3" src="/pub/kray3_script/operators/operators8.kray"></include>{{#ifeq: 1|1|

Run in KrayLive|}}

You can use comparision operators == != on doubles, strings, vectors and axes.

<include highlight="kray3" src="/pub/kray3_script/operators/operators9.kray"></include>{{#ifeq: 1|1|

Run in KrayLive|}}