HPlogo MPE/iX Intrinsics Reference Manual > Chapter 5 Command Definitions (FCONTROL - FLOCK)

FFILEINFO

MPE documents

Complete PDF
Table of Contents
Index

Edition 7 E0701 ♥
Edition 7 E0300
Edition 6 E0195

NM and CM callable.

Returns information about a file.

Syntax



             I16V       I16V     *
  FFILEINFO (filenum [, itemnum, item] [...]);


NOTE: Up to five itemnum/item pairs can be specified.

Parameters


filenum

16-bit signed integer by value (required)

Passes the file number of the file for which information is requested.

itemnum

16-bit signed integer by value (optional)

Specifies which item value is to be returned. (Refer to Table 5-2 "FFILEINFO Itemnum/Item Values".)

item

type varies (optional)

Returns the value of the item specified in the corresponding itemnum. (Refer to Table 5-2 "FFILEINFO Itemnum/Item Values".)


Table 5-2 FFILEINFO Itemnum/Item Values


Table 5-3 FFILEINFO File Codes


Table 5-4 Foption Bit Summary FOPEN FOPTIONS


Table 5-5 Aoption Bit Summary FOPEN AOPTIONS

Condition Codes


CCE (2)Request granted.
CCG (0)Not returned.
CCL (1)Request denied. Access or calling sequence error.

Related Information


Intrinsics FGETINFO, FGETKEYINFO, FLABELINFO, FRELATE
Manuals Accessing Files Programmer's Guide




FERRMSG


FFINDBYKEY