MOH Central

Medal of Honor Series Forum => MOHAA Series: General => Scripting => Topic started by: easymeat {sfx} on March 03, 2016, 07:06:57 PM

Title: Operator predecence
Post by: easymeat {sfx} on March 03, 2016, 07:06:57 PM
where can I find out more about these  I found this on Rjukan project site. what does a "!" mean? It doesn't explain what they do.

Operator predecence


All operators are executed in a special order, as some have predecence over others.


The operators are listed in order of evaluation priority, highest first:

* / %
+ -
< > <= >=
== !=
&
^
|
&&
||

These predecence rules will govern how complex statement are evaluated.

for example this from setup.scr

   if(level.HTR_setup !=1) whats this mean. !=1
   {
      level.HTR_setup = 1
Title: Re: Operator predecence
Post by: Elgan {sfx} on March 03, 2016, 07:23:38 PM
it means not