. . . .
́ , .
- - , , , .
- - , : , () , () .
, , . .
, , , , .
, , , . .
:
- . , (. Virtual address) .
- . .
- . .
- . , .
- . .
- . .
- - (-). , .
- . , , .
, , , .
:
1) . - . . . , (F1) , . F1, . , .
2) , . , ,
:
Runtime error nnn at xxxx:yyyy
( nnn xxxx:yyyy), nnn- ,
xxxx:yyyy- ( ).
.
:
1) , ( 1-99);
2) \ (100-149);
3) (150-199);
4) (200-255);
|
|
3) , (, File not found ( ) Path not found ( )).
4) (, Disk is write protected ( )).
5) . (, Division by zero ( ))
Pascal. , , , , .
Pascal , , , , .
a z A Z, _. , .
0 9.
0 15. 10 0..9, A..F.
+ * / =, .:;,. [ ] () { } ^ @ $ #
: < > <= >=:= (* *) (..)
() : and, asm, array, begin, case, const, construction, destructor, div, do, downto, else, end, file, for, function, goto, if, implementation, in, inline, interface, label, mod, nil, not, object, of, or, packed, procedure, program, record, repeat, set, shl, shr, string, then, to, type, unit, until, uses, var, while, with, xor.
, , , , , , , , .. , :
1. , , ; ;
2. ;
3. ;
4. , 63 .
. , , , , , , NIL.
. :
Const
1 = 17; ( integer)
c2 = 3.14; ( real)
c3 = A; ( char)
c4 = 3.14; ( string)
c5 = false; ( boolean)
, -2147483648 +2147483847.
/ ( + - , 3.14-2 = 3.14*10-2).
, $. $00000000 $FFFFFFFF.
FALSE () TRUE ().
|
|
, ( z).
, .
, ( [1, 2, 3, 4..7, 12).
, . { } (* *). : { (* *) } (* { } *).
:
Program My_first_program;
Const
text = Ya programmiruyu na Pascale;
Begin
wtiteln(text);
end.
- 6 . . Pascal . (My_first_program) . ( ), .
Program . () , .. const const, , . , . ( : text , Ya programmiruyu na Pascale ). text ( ). begin ( ). : wtiteln(text) text . writeln , , . : end . end. , .