home *** CD-ROM | disk | FTP | other *** search
- {$F+}
- Procedure AssignDev( Var F : Text );
- { Simple example procedure that shows the structure of an }
- { initialization procedure. It sets up each field of the file }
- { variable F. }
- Begin
- With TextRec( F ) Do
- Begin
- Handle := $FFFF;
- Mode := fmClosed;
- BufSize := SizeOf( ABuffer );
- BufPtr := @ABuffer;
- OpenFunc := @AnOpenFunc;
- CloseFunc := @ACloseFunc;
- InOutFunc := @AnInOutFunc;
- FlushFunc := @AFlushFunc;
- BufPos := 0;
- Name[0] := #0;
- End;
- End;
-