10
TURBO PASCAL.
.
.
:
OPTIONS ( ENVIROMENT) Turbo Pascal 7.0. Pascal. . .
OPTIONS
COMPILER. , .
Force far calls , . oo : (NEAR) (FAR). , . , () , - () . , EXEC .
Overlays allowed . . , , Overlays allowed.
Word align data : , , .. , , . .
286 instructions Intel 80286. , Intel 8088 Intel 80386. , Intel 30286 .
Range checking . , , , , .
|
|
Slack checking Range checking .
I/O checking / , -.
Strict var -strings - . , .
Complete boolean eval , , . , :
..
Funtion MyFunc(var : integer): Boolean
Begin
x:= x+l;
MyFunc:= x>10
End.;
..
x:= 0;
if False end MyFunc(x) then
x:= 10;
.
Complete boolean eval =0, po MYFUNC: FALSE AND MYFUNC FALSE , AND. , , MYFUNC 1. , := 10.
Extended syntax , , , y . , .
8087/80287 . REAL. , , , SINGLE, DOUBLE, EXTENDED .
Emulation , , . . , : ccopa , . . , . , Emulution , 8087/80287.
Debug information . , , . Debug information , . TPU- , , , , . , , .
|
|
Local symbols Debug information : c , .
Conditional defines , onepaopax .
MEMORY SIZES. OPTIONS/MEMORY SIZES . , :
Stack size - , 16384 , - 65535 ;
Low heap limit - ; 0;
High heap limit - ; 655360 ; Low heap limit.
, () , . , () . npo . 655360 , , .
LINKER. , : Map file , Link buffer - . ( ) . Off . Segments . Public , Segment, . , Detailed . Memory , Disk . Memory, , .
, , (640 ) : 304 . ,
Out of memory
( )
. Disk. 44 TURBO.TPL (. OPTIONS/ENVIRONMENT/STARTUP). , . COMPILE/DESTINATION DISK, MAKE BULD, . , . , . , , - , - ..
|
|
DEBUGGER. . Integrated, , . . Standalone EXE - , TD.EXE. , . Smart - . , () F8, () . Always, . , None , , .. . Window/Refresh display.
DIRECTORIES. OPTIONS /DIRECTORIES .
& TPU directories , EXE - TPU -. , - . , .
Include directories - , , .. , {$I< >}. , . , , .
Unit directories - , TPU -, . , GRAPH.TPU ( npo Typ ), , & TPU directories. .
OBJ -. Object directories , c , .
|
|
, () . , .. , .
, . ( ) , .
, , , , . , . , ( ) , . .
, , , , , , . , , , . , . :
h10ga, g2, g10, ha10g
:
g10, g2, h10ga, ha10g.
.
, , . , 25% .
, , . , , . , , . ?
, , . , , () , , . . , (), ().
, .
, , (), , . , .
, .
, , :
;
.
.
:
() ;
.
, , :
( );
( );
();
).
, , . , . . , ( , / ) .
1.3.
|
|