Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Pascal/HP-UX Programmer's Guide > Chapter 3 Input/Output

Disassociate Procedure

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

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

Title not available (Disassociate Procedure )

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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.