FileType

Description:

baFileType returns the type code of a file.

Platforms:

Macintosh

Usage:

Result = baFileType( FileName )

Arguments:

String.
FileName is the file to get the code of.

Returns:

String.
Returns the four character type code of the file.

Examples:

Director:
set type = baFileType( "HD:Data:data file" )

Authorware:
OK := baFileType( "HD:Data:data file" )
 

See also:

baFileCreator
baSetFileInfo