HP 3000 Manuals

Disassociate Procedure [ HP Pascal/iX Programmer's Guide ] MPE/iX 5.0 Documentation


HP Pascal/iX Programmer's Guide

Disassociate Procedure 

The predefined procedure disassociate removes the logical-physical file
association that was previously created with the standard procedure
associate.  As a result, you can no longer use the file f with Pascal
input and output routines.

Syntax 

     disassociate (f)

Parameters 

f             A variable of type file.

Normally, a file is closed on exit from the block in which it is
declared.  A disassociated file, however, remains open until it is closed
with a direct call to an operating system routine.

Disassociate is useful on a file that is opened by a non-Pascal routine
that is passed to a Pascal routine and must remain open on exit from the
Pascal routine.



MPE/iX 5.0 Documentation