Navigation:  thinBasic Modules > Exe (Executable info) >

EXE_GetMachine

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the architecture type of an image file.

An image file can only be run on the specified computer or a system that emulates the specified computer.

 

Syntax

 

n = EXE_GetMachine(FileName)

 

Returns

 

Numeric

See Exe equates for possible values

 

Parameters

 

Name

Type

Optional

Meaning

FileName

String

No

Name of an exe or dll file

 

Remarks

 

Restrictions

 

See also

 

Examples