- :
|
|
|
|
|
|
|
|
|
|
1 |
not |
not A |
"" |
|
|
2 |
and |
A and b |
"" |
|
|
3 |
or |
A or B |
"" |
|
|
3 |
xor |
A xor B |
"" |
|
|
|
|
|
|
2 |
* |
x*y |
|
|
|
2 |
/ |
x/y |
|
|
,
|
2 |
div |
N div M |
|
|
|
2 |
mod |
N mod M |
|
|
|
3 |
+ |
x + y |
|
|
,
|
|
|
|
|
4 |
= |
x=y |
|
= |
|
4 |
<> |
X<>y |
|
= |
|
4 |
> |
x>y |
|
= |
|
4 |
< |
x
|
= |
| |
4 |
>= |
x>=y |
|
= |
|
4 |
<= |
x<=y |
|
= |
|
, ,
. . ,
. ,
a/c*b (a/c)*b.
|
|
|
|
|
|
|
|
|
|
1 |
@ |
@x |
|
|
|
2 |
ch1 |
y ch1 n |
|
|
|
2 |
shr |
y chr n |
|
|
|
2 |
* |
c * D |
|
|
|
3 |
+ |
c + d |
|
|
|
3 |
- |
c - d |
|
|
|
3 |
+ |
s + t |
|
, |
|
4 |
in |
e in d |
|
|
|
.
-
|
|
|
|
|
|
abs(x) |
|
|
"x" |
sin(x) |
|
|
"x" |
cos(x) |
|
|
"x" |
arctan(x) |
|
|
"" ( -Pi/2 < y <
td )< 2 Pi> |
Sqrt(x) |
|
|
""( , x
> 0) |
Sqr(x) |
|
|
"" ( 2 ) |
Exp(x) |
|
|
"" "" ( ,
e= 2. 718282. . . ) |
Ln(x) |
|
|
"" ( > 0
) |
Frac(x) |
|
|
"" |
Int(x) |
|
|
"" |
Random |
- |
|
( 0 < =y< 1
) |
Random(x) |
Word |
Word |
( 0 < =y< x
) |
Succ(c) |
|
|
"" |
Pred(c) |
|
|
""
|
|
|
|
|
|
|
Inc(x) |
|
|
"" 1 ( x:=x+1;
) |
Dec(x) |
|
|
"" 1 ( x:=x-1; ) |
Inc(x, n) |
|
|
"" n ( x:=x+n; ) |
Dec(x, n) |
|
|
"" n ( x:=x-n; ) |
|
|
Str(x, s) |
x- |
s- |
"s"
"x" |
Val(s, v, cod) |
s- |
v- cod-
|
"v" "s" cod=0 ( ) |
|
|
Trunc(x) |
|
LongInt |
"" |
Round(x) |
|
LongInt |
"" |
Odd(x) |
|
|
True "" -
|
hr(x) |
Byte |
Char |
ASCII "" |
Ord(c) |
Char |
Byte LongInt |
ASCII ""
"" |
, ,
--, -
-.
,
. , Y:= Sin(x);
"", - "Y".
, . .
, . : - Y:= 5 *
Cos(Pi + x); , -,
.
. ,
, -
Randomize;. -,
, -
. , Str(x, s); "x" ,
"S" "x". -
, , Inc(x);
- "x" , . . "x",
x:=x+1; ,
.
|