aboutsummaryrefslogtreecommitdiff
path: root/Src/Plugins/Visualization/vis_avs/help_2.bin
blob: 307b269329071136e541d48effb9394ab3370826 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
The following operators are available:
=
  assigns a value to a variable.
  example:  var=5;

+
  adds two values, returns the sum.
  example:  var=5+var2;

-
  subtracts two values, returns the difference.
  example:  var=5-var2;

*
  multiplies two values, returns the product.
  example:  var=5*var2;

/
  divides two values, returns the quotient.
  example:  var=5/var2;

%
  converts two values to integer, performs division, returns remainder
  example:  var=var2%5;

|
  converts two values to integer, returns bitwise OR of both values
  example:  var=var2|31;

&
  converts two values to integer, returns bitwise AND of both values
  example:  var=var2&31;