MACHINE

Synopsis
MACHINE
Description

Outputs a list that describes the characteristics of the machine. The list has the following format:

[IsWindows Wordsize BitmapWidth BitmapHeight
IsPaletteEnable WindowsVersionMajor WindowsVersionMinor
WorkingAreaWidth WorkingAreaHeight DesktopWidth DesktopHeight
OuterWindowWidth OuterWindowHeight InnerWindowWidth InnerWindowHeight]

Where the meaning of each member is given by the table below.

ItemNameMeaning
1IsWindows1, if this is Microsoft Windows. 0, otherwise.
2Wordsize The number of bits in a machine word. If the version of FMSLogo was compiled for a 32-bit machine, this is 32 even when running on a 64-bit Windows.
3BitmapWidthThe width of the drawable area on the FMSLogo Screen, in pixels.
4BitmapHeightThe height of the drawable area on the FMSLogo Screen, in pixels.
5IsPaletteEnabled0, always (FMSLogo does not support displays that use palettes).
6WindowsVersionMajorThe major version of Windows.
7WindowsVersionMinorThe minor version of Windows.
8WorkingAreaWidthThe width of the part of the desktop that is not obscured by the taskbar, in pixels.
9WorkingAreaHeightThe height of the part of the desktop that is not obscured by the taskbar, in pixels.
10DesktopWidthThe width of the whole desktop, in pixels.
11DesktopHeightThe height of the whole desktop, in pixels.
12OuterWindowWidth The width of the FMSLogo screen window, in pixels. This includes the window frame, the vertical scollbar, etc.
13OuterWindowHeight The height of the FMSLogo screen window, in pixels. This includes the window frame, the title bar, the menu bar, the horizontal scrollbar, etc. If the commander window is docked, this also includes the thickness of the splitter and the commander.
14InnerWindowWidth The width of the client area of the FMSLogo screen window, in pixels. This only includes the drawable surface, not the window frame, scrollbar, etc.
15InnerWindowHeight The height of the client area of the FMSLogo screen window, in pixels. This only includes the drawable surface, not the window frame, scrollbar, etc.

Example
SHOW MACHINE
[1 32 1000 1000 0 5 1 1280 772 1280 800 1035 594 1027 251]

SourceForge.net Logo