docs

Home All functions Categories

vuFileType(FileName)

vuFileType(*CSTRING), Signed

Description

Determines the executable type of a file based on its contents, not its extension.

Parameters

Parameter Data Type Description
FileName CSTRING(128) Fully qualified path and filename of the file

Returns

One of the following values:

Example

FileName = 'C:\55\Bin\C55RW.EXE'

IF vuFileType(FileName) = 16
  MESSAGE('Program is a 16-bit Windows executable file')
END

Notes

Home All functions Categories