I. , Turbo Pascal
: 1) Turbo Pascal.
2) .
1. : 26 (A-Z, a-z) _.
2. : 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.
3. ( ), , :
__ (),
{ } (* *),
( 0 31), ( 13).
4. :
4.1. (. 1):
1.
{ } | |
(* *) | |
[ ] | , , |
() | , , |
: = | |
; | ( ) |
: | |
= | |
, | |
. | , , |
$ |
4.2. :
: + (), - (), * (), / (), DIV ( ), MOD ( );
{ ! ! }
: > (), < (), >= ( ), <= ( ), < > ( );
: NOT ( ), OR ( ), AND ( ).
5. () :
absolute | end | inline | procedure | type |
and | external | interface | program | unit |
array | file | interrupt | record | until |
begin | for | label | repeat | uses |
case | forward | mod | set | var |
const | function | nil | shl | while |
div | goto | not | shr | with |
do | if | of | string | xor |
downto | implementation | or | then | |
else | in | packed | to |
6. : : %, &, '' .. - Turbo Pascal, ( ).
II.
1. () .
-4, -100, 1987, -1001 ( + ).
:
1) -12.3879, 735.4;
2) , :
|
|
Turbo Pascal
2.65 6 2650000
-2.5- 5 -0,000025
-1.8 5 -180000
2. - , , , , , , . .
( ). . 63 .
: 1, SUMMA_ZARPLAT, ALFA, F_I_O, 123.