FindFile (open)

Find a file by its ID

Syntax

LOADLIB "mod::publisher/lib/publisher.whlib";

RECORD FUNCTION FindFile(INTEGER fileid)

Parameters

INTEGER fileid

File ID to look for

Return value

RECORD

The requested file record, or a non-existing record if the file does not exist

Description

Retrieve a file record from the FILES table, based on its ID.