FDAT [(#channel)] or

FDAT (\filename) (Toolkit II and THOR)


Toolkit II, THOR XVI, BTool

This function returns the value of four bytes (at offset 6 to 9) in a file header. This value represents the dataspace of executable files (file type 1). There is no convention for any other file types. The default data device and sub-directories are supported, the default channel is #3.


FXTRA returns the other four bytes of the type dependent information contained in the file header. FILE_DAT is very similar to FDAT. See also FTYP.