home *** CD-ROM | disk | FTP | other *** search
- { Start Pascal code example }
- Program Temp;
-
- Uses
- Crt;
-
- Var
- TextAttr : Byte; { Define TextAttr locally }
- MyTextAttr : Byte absolute CRT.TextAttr; { Point to CRT unit:TextAttr }
- Test : Byte; { Local garabage variable }
-
- {$L TEMP.OBJ}
-
- {$F+}
- Function MyFunc1 : Word; external;
- Function MyFunc2 : Word; external;
- {$F-}
-
- Begin
- test := MyFunc1;
- WriteLn ( test );
- test := MyFunc2;
- WriteLn ( test );
- End.
-