Adriaan van Os wrote:
david@tcs01.demon.co.uk wrote:
ih8mj@fjf.gnu.de wrote:
Andy Ball wrote:
Is there anything special that I need to do to commit a file to disk after I have written to it? My old Pascal book says to use...
CLOSE(FILEHANDLE,LOCK);
Just FMI, which Pascal compiler is this? We've seen various syntaxes in this area, but I can't remember seeing this one.
UCSD P-system unless my memory fails me.
Yes, UCSD Pascal, e.g. see the description on page 28-29 of the Apple II UCSD Pascal Language Reference.
CLOSE ( FILEID [, OPTION] )
where OPTION may be one of the following: NORMAL, LOCK, PURGE or CRUNCH.
As an informational note, Apple did not carry this feature forward into their Macintosh Pascal language implementation. For the Macintosh Pascal language implementation, CLOSE(file-variable) is the only thing supported.
Gale Paeper gpaeper@empirenet.com