Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The next group of operators is used for comparisons:

 

Less than<
Greater than>
Less than or equal<=
Greater than or equal>=
Equal==
Not equal!=

...

The most common augmented operators are: 

+=-=/=*=**=%=

 

Python offers a few more operator types, but they are not often used with RealFlow scripts. As you can see, operators work exactly as you know from school. They resemble basic operations, and you will definitely need to use them frequently. You also might have noticed that operators do not contain mathematical functions, such as sine, square root or tangent. These functions are part of another class and treated separately.

...