HPlogo Using KSAM XL and KSAM 64 > Chapter 9 KSAM Intrinsics

FFILEINFO

MPE documents

Complete PDF
Table of Contents
Index

E0300 Edition 4 ♥
E0394 Edition 3

Syntax Parameters Operation Notes Condition Codes

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 9-2 "FFILEINFO Itemnum/Item Values")

item

type varies (optional)

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

Table 9-2 FFILEINFO Itemnum/Item Values

Table 9-3 FFILEINFO File Codes

Figure 9-1 Foption Bit Summary

[Foption Bit Summary]

Figure 9-2 Aoption Bit Summary

[Aoption Bit Summary]

Operation Notes


None.

Condition Codes


CCE (2)

Request granted.

CCG (0)

Not returned.

CCL (1)

Request denied. Access or calling sequence error.

Refer to this intrinsic in the MPE/iX Intrinsics Reference Manual for other codes pertaining to KSAM files.




FERRMSG


FFINDBYKEY