| Config.Machine | Part of Config module |
| Syntax | Config.Machine (machineCode : int) : int
| |||||||||
| Description | Config.Machine returns information about the machine that the program is currently running on. The parameter machineCode determines what sort of information is passed back. machineCode has a number of possible values, all summarized by a set of predefined constants. At the time of this writing, the following constants were defined:
| |||||||||
| Example | This program prints whether the machine has an FPU or not.
if Config.Machine (cmFPU) = 1 then
put "The machine has an FPU installed"
else
put "The machine does not have an FPU installed"
end if
| |||||||||
| Status | Exported qualified. This means that you can only call the function by calling Config.Machine, not by calling Machine.
|